html {
    scroll-behavior: smooth;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    color: #ededed;
    overflow-x: hidden; 
    -ms-overflow-style: none;
    scrollbar-width: none;
}


body::-webkit-scrollbar {
    display: none;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar a {
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
}

.navbar a:hover,
.navbar a.active {
    color: #00abf0;
}

.home {
    height: 100vh;
    background: url('bluebackground.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.home-content {
    max-width: 600px;
}

.home-content h1 {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
}

.home-content h1::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #00abf0;
}

.home-content p {
    font-size: 16px;
    margin: 20px 0 40px;
}

.home-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29;
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box {
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover {
    color: #00abf0;
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: #00abf0;
}

.btn-box a:nth-child(2):hover {
    color: #081b29;
}

.btn-box a:nth-child(2)::before {
    background: #00abf0;
}

.btn-box a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before {
    width: 100%;
}

.home-sci {
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}

.home-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius: 50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a:hover {
    color: #081b29;
}

.home-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover::before {
    width: 100%;
}

.home-imgHover {
    position: absolute;
    top: 0;
    right: 30px;
    width: 500px;
    height: 100%;
    background: transparent;
    transition: 3s;
}

.home-imgHover:hover {
    background: #081b29;
    opacity: 8;
}

@keyframes showRight {
    100% {
        width: 0;
    }
}

.about-section {
    padding: 100px 10%;
    background-color: #081b29;
    color: #ededed;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #00abf0;
}

.about-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Portfolio section layout */
.portfolio {
    padding: 80px 20px;
    background: #081b29;
    text-align: center;
}

.portfolio-title {
    color: #00bfff;
    font-size: 3rem;
    margin-bottom: 10px;
}

.portfolio-subtitle {
    color: white;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Filter button styles */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: #00bfff;
    font-weight: bold;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #ffffff;
    color: #0a1e2b;
}

/* Portfolio items */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: #112a3c;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 🔵 Gradient tekst klasse */
.gradient-text {
    background: linear-gradient(90deg, #00bfff, #0077ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.timeline-section {
  padding: 60px 20px;
  background-color: #081b29;
}

.timeline-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00abf0;
}

.timeline {
  position: relative;
  margin-left: 20px;
  border-left: 3px solid #0077ff;
  padding-left: 20px;
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background-color: #ff6f00;
  border-radius: 50%;
  position: absolute;
  left: -26px;
  top: 5px;
}

.timeline-date {
  font-weight: bold;
  color: blanchedalmond;
  margin-bottom: 6px;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin: 5px 0;
  color: #0077ff;
}

.timeline-content h4 {
  font-weight: 600;
  margin: 2px 0 10px;
  color: white;
}

.timeline-content p,
.timeline-content ul {
  margin: 0;
  font-size: 0.95rem;
  color: white;
}

.timeline-content ul {
  padding-left: 20px;
  list-style-type: disc;
}
.footer {
  position: relative;
  padding: 2rem 1rem;
  text-align: center;
  background: #081b29;
  font-size: 14px;
  color: #444;
  border-top: 1px solid #eee;
}

.footer-content {
  max-width: 900px;
  margin: auto;
}

.footer-content p {
  margin: 0.3rem 0;
}

.footer-socials {
  margin: 1rem 0;
}

.footer-socials a {
  display: inline-block;
  margin: 0 0.4rem;
  font-size: 20px;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  transition: 0.3s;
}

.footer-socials a:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.footer .credit a {
  color: #f36f2b;
  text-decoration: none;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #00abf0;
  color: #081b29;
  padding: 0.6rem;
  border-radius: 50%;
  font-size: 20px;
  z-index: 999;
  transition: 0.3s;
  display: none;
}

.scroll-top:hover {
  background: #d6591c;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}
@media (max-width: 768px) {
  .home-content h1 {
    font-size: 36px;
  }

  .home-content h3 {
    font-size: 24px;
  }

  .btn-box {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 10px;
  }

  .btn-box a {
    width: 100%;
  }

  .home-sci {
    position: static;
    margin-top: 2rem;
    justify-content: center;
  }

  .home-imgHover {
    display: none;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }
}
