* {
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

h1.fw-bold,
h2.fw-bold,
h3.fw-bold,
h4.fw-bold,
h5.fw-bold,
h6.fw-bold {
  font-weight: 600 !important;
}

a,
a:hover,
a:focus,
button,
button:focus {
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
}

::selection {
  background: rgba(166, 175, 189, 0.3);
}

::-moz-selection {
  background: rgba(166, 175, 189, 0.3);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999999;
}

#status {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -20px;
}

.spinner {
  margin: 0 auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 5px solid rgba(0, 0, 0, 0.2);
  border-right: 5px solid rgba(0, 0, 0, 0.2);
  border-bottom: 5px solid rgba(0, 0, 0, 0.2);
  border-left: 5px solid #000;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.spinner,
.spinner:after {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.back_top {
  text-align: center;
  position: fixed;
  bottom: 15px;
  height: 35px;
  width: 35px;
  background-color: #000;
  display: none;
  z-index: 10000;
  border-radius: 3px;
  right: 20px;
  transition: all 0.5s;
}

.back_top i {
  color: #fff;
  line-height: 35px;
  font-size: 12px;
  display: block;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  background-color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 80px;
}

.bg-dark {
  background-color: #000;
}

.text-dark {
  color: #000 !important;
}

.page_link {
  font-size: 14px;
}

.page_link a {
  color: rgba(255, 255, 255, 0.55);
}

.text-muted {
  color: #777;
}

.text-custom {
  color: #000 !important;
}

.h-100vh {
  height: 100vh;
}

.z-index {
  z-index: 2;
}

.bg-custom {
  background-color: #000;
}

.section-main-title {
  max-width: 570px;
}

.main-title-border::after,
.main-title-border::before {
  display: inline-block;
  margin-top: -7px;
  vertical-align: middle;
  content: "";
  background-color: #d0d0d0;
  width: 30px;
  height: 1px;
}

.main-title-border i {
  font-size: 20px;
}

.bg-overlay-gredient {
  background: linear-gradient(32deg, rgba(18, 166, 181, 0.8) 0%, rgba(16, 12, 242, 0.7) 100%);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.bg-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.btn {
  padding: 12px 26px;
}

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

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  letter-spacing: 1px;
  transition: all 0.5s;
  font-size: 15px;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus,
.btn-outline-custom:active,
.btn-outline-custom.active,
.btn-outline-custom.focus,
.open > .dropdown-toggle.btn-outline-custom {
  background-color: #fff !important;
  border-color: #fff !important;
  color: #000 !important;
}

.btn-outline-black {
  background-color: transparent;
  border: 2px solid #000;
  color: #000;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.5s;
  font-size: 15px;
}

.btn-outline-black:hover,
.btn-outline-black:focus,
.btn-outline-black:active,
.btn-outline-black.active,
.btn-outline-black.focus,
.open > .dropdown-toggle.btn-outline-black {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom:active,
.btn-custom.active,
.btn-custom.focus,
.open > .dropdown-toggle.btn-custom {
  background-color: #fff;
  border-color: #000;
  color: #000;
}

.home-bg {
  background-image: url(../images/modern-2.webp);
  background-position: center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
}

.home-table-center {
  display: table-cell;
  vertical-align: middle;
}

.home-table {
  display: table;
  width: 100%;
  height: 100%;
}

.header_title {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: capitalize;
}

.header_subtitle {
  line-height: 2;
  font-size: 18px;
  max-width: 600px;
}

.social_home {
  margin: 2rem 0;
}

.social_home li a,
.social_home li button {
  font-size: 18px;
  color: #ffffff;
  display: inline-block;
  width: 30px;
  text-align: center;
  margin: 0 1rem;
  transition: all 0.3s ease;
  background: none;
  border: none;
}

.social_home li a i,
.social_home li button i {
  color: #ffffff;
  transition: transform 0.3s ease;
}

.social_home li a:hover i,
.social_home li button:hover i {
  transform: scale(1.2);
  color: #ffffff;
}

.scroll_down {
  position: absolute;
  bottom: 5vh;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  z-index: 8;
}

.scroll_down i {
  position: relative;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
  height: 50px;
  width: 30px;
  line-height: 60px;
  border-radius: 30px;
  border: 2px solid #ffffff;
  display: inline-block;
  color: #fff;
  font-size: 12px;
}

.scroll_down i:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  z-index: -1;
  transition: all 0.2s;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.custom-nav {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px); 
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  transition: all 0.5s ease-in-out;
}

.custom-nav.stickyadd {
  background-color: #fff;
  padding: 8px 0;
  box-shadow: 0 0 18px 1px rgba(0, 0, 0, 0.1);
}

.custom-nav .navbar-nav li a {
  color: #fff;
  font-size: 16px;
  background-color: transparent !important;
  padding: 15px 0;
  position: relative;
  margin: 0 7px;
  font-weight: 600;
  transition: all 0.4s;
}

.custom-nav.stickyadd .navbar-nav li a {
  color: #000;
}

.custom-nav .navbar-nav li a:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  height: 6px;
  width: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-nav.stickyadd .navbar-nav li a:before {
  background: #000;
}

.custom-nav .navbar-nav li.active a:before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.custom-nav .navbar-nav li:not(.active):hover a:before {
  opacity: 1;
  transform: translateX(-50%) scale(1.2);
}

.navbar-toggler,
.navbar-toggle {
  font-size: 24px;
  margin-top: 5px;
  margin-bottom: 0;
  color: #ffffff;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background-color: transparent;
  border-color: #337ab7;
}

.logo {
  color: #fff;
}

.custom-nav .logo {
  font-size: 1.8rem;
  color: #fff;
}

.logo .logo-light {
  display: inline-block;
}

.logo .logo-dark {
  display: none;
}

.stickyadd .logo .logo-light {
  display: none;
}

.stickyadd .logo .logo-dark {
  display: inline-block;
}

.custom-nav .navbar-brand.logo img {
  height: 28px;
}

#about {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #333;
}

#portfolio {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

#certificates {
  background: linear-gradient(135deg, #153d6a 0%, #144371 50%, #133861 100%);
  color: #ffffff;
}

#contact {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  color: #333;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.element {
  color: #ffffff;
  font-weight: bold;
}

.typed-cursor {
  font-weight: 400;
  font-size: inherit;
  color: #fff;
  margin-left: 2px; 
}

.alert-copied {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.5s;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

#typed-text {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: 48px;
}

 .footer {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: #ffffff;
            padding: 60px 0 30px 0;
            position: relative;
            overflow: hidden;
        }

        .footer .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
        }

        .footer-brand h3 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #ffffff, #e3f2fd);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-brand p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 20px;
            opacity: 0.9;
            max-width: 300px;
        }

        .footer-section h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: #ffffff;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-section h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, #64b5f6, #42a5f5);
            border-radius: 1px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 15px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: #64b5f6;
            transform: translateX(5px);
        }

        .footer-links a i {
            margin-right: 8px;
            font-size: 14px;
            width: 16px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.9);
        }

        .contact-item i {
            margin-right: 12px;
            font-size: 16px;
            color: #64b5f6;
            width: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .social-links a:hover {
            background: rgba(100, 181, 246, 0.2);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(100, 181, 246, 0.3);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            margin: 0;
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .footer-bottom-links {
            display: flex;
            gap: 25px;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 14px;
            transition: color 0.3s ease;
        }

        .footer-bottom-links a:hover {
            color: #64b5f6;
        }

        .cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #212529;
        color: #fff;
        padding: 1rem;
        z-index: 1000;
        display: none;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
      }

      .cookie-banner p {
        margin: 0;
        font-size: 0.9rem;
      }

      .cookie-banner a {
        color: #0d6efd;
        text-decoration: underline;
      }

      .cookie-buttons {
        margin-top: 10px;
      }

      @media(min-width: 576px) {
        .cookie-banner {
          display: flex;
        }
        .cookie-buttons {
          margin-top: 0;
        }
      }

        @media (max-width: 768px) {
             #typed-text {
              font-size: 26px;
              white-space: normal;
            }

            .header_title {
              font-size: 32px;
              padding: 1rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
                text-align: center;
            }

            .footer-brand p {
                max-width: 100%;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-bottom-links {
                justify-content: center;
            }

            .scroll_down {
            display: none !important;
          }
        }

        @media (max-width: 576px) {
          #typed-text {
              min-width: unset; 
              display: inline;
              font-size: 26px;
              white-space: normal;
            }
            .footer {
                padding: 40px 0 20px 0;
            }

            .footer-brand h3 {
                font-size: 1.6rem;
            }

            .social-links {
                justify-content: center;
            }
        }

@media (max-width: 1919px) {
  #typed-text {
    display: inline; 
    white-space: normal;
    font-size: 30px;
  }

  .header_title {
    font-size: 40px;
    text-align: center;
    padding: 1rem;
  }

  .scroll_down {
    display: none !important;
  }
}

.hero-content {
  padding-top: 140px;
  padding-bottom: 60px;
}

@media (orientation: landscape) and (max-width: 992px) {
  .hero-content {
    padding-top: 180px !important;
    padding-bottom: 50px;           
  }

  .header_title {
    font-size: 26px;
    margin-top: 0.5rem;
  }

  .welcome-text {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
  }

  #typed-text {
    font-size: 18px;
  }

  .header_btn {
    margin-top: -0.2rem !important;  
    display: flex;
    justify-content: center;
  }

  .download-btn {
    font-size: 12px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
  }

  .social_home {
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 768px) {
  .custom-nav {
    margin-top: 0;
    padding: 10px 0 !important;
    background-color: #fff !important;    
    box-shadow: none !important;         
  }

  .custom-nav .logo {
    color: #000;
  }

  .custom-nav .navbar-nav li a {
    margin: 0 0px;
    padding: 6px 0;
    color: rgba(0, 0, 0, 0.55) !important;
  }

  .custom-nav .navbar-nav li a:before {
    content: "";
    display: none;
  }

  .custom-nav .navbar-nav li.active a {
    color: #000 !important;
  }

  .custom-nav > .container {
    width: 90%;
  }

  .custom-nav .logo .logo-dark {
    display: inline-block;
  }

  .custom-nav .logo .logo-light {
    display: none;
  }

  .navbar-nav {
    margin-top: 0px;
  }

  .navbar-toggler {
    font-size: 29px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #000;
  }

  .header_title {
    font-size: 40px;
    line-height: 1.2;
  }

  .header_subtitle {
    font-size: 15px;
    line-height: 1.8;
  }

  .home-bg,
  .h-100vh.jarallax,
  .h-100vh.bg-dark,
  .home-bg-slider .carousel-item {
    padding: 170px 0 110px 0;
  }

  .h-100vh,
  .home-bg-slider .carousel-item {
    height: auto;
  }

  .scroll_down {
    display: none;
  }

  .clip-home {
    clip-path: none;
  }

  .custom-nav .navbar-brand.logo img {
    height: 26px;
  }

  .about-detail .about-work li::after,
  .work_menu li:after {
    display: none;
    content: "";
  }

  .about-detail .about-work li {
    margin-right: 7px;
    margin-left: 7px;
  }

  .copy-rights {
    line-height: 26px;
  }

  .float_none.float-right,
  .float_none.float-left {
    float: none !important;
    text-align: center;
  }

  .work_menu li a {
    margin: 8px 10px;
  }

  .comment_blog .comment_read:nth-child(odd) {
    margin-left: 34px;
  }

  .blog_detail h4 {
    font-size: 18px;
  }

  .blog_detail p.blockquote {
    font-size: 14px !important;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 50px 0;
  }

  .home-bg {
    padding: 146px 0;
  }
  .header_title {
    font-size: 36px;
  }

  #typed-text {
    display: inline;
  }
}