html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: black;
    overflow-x: hidden;
    font-family: 'Inter';
}

header {
    height: 100vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: transparent;
    position: relative;
    z-index: 10;
    text-align: center;
    top: -40px;
}


header p {
    color: white;
    font-size: 1.2rem;
    margin: 10px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

nav ul li {
    display: inline;
    margin: 0 5px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    border: 1px solid white;
    border-radius: 24px;
    padding: 5px 10px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.logo {
    width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 0px;
}

.logo a:hover {
    box-shadow: white 0 0 10px;
}

.aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 0; /* Make sure aurora stays at the very back */
}

.aurora span {
    position: absolute;
    width: 20vw;
    height: 30vh;
    background: linear-gradient(120deg, rgba(0, 255, 255, 0.5), rgba(255, 0, 255, 0.5), rgba(255, 255, 0, 0.5), rgba(0, 255, 255, 0.5), transparent);
    filter: blur(100px);
    mix-blend-mode: screen;
    border-radius: 50%;
    animation: moveAurora 30s infinite ease-in-out, fadeInOut 10s infinite ease-in-out;
}

@keyframes moveAurora {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20vw, 10vh) rotate(45deg);
    }
    50% {
        transform: translate(-20vw, -10vh) rotate(-45deg);
    }
    75% {
        transform: translate(10vw, -20vh) rotate(30deg);
    }
    100% {
        transform: translate(-10vw, 20vh) rotate(-30deg);
    }
}

@keyframes fadeInOut {
    0%, 100%{
        opacity: 0;
    }
    40%, 60% {
        opacity: 1;
    }
}

.contact-links a {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: gray;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.contact-links a:hover {
    background: rgba(0, 0, 0, 0.5);
}

h1 {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
}

h1 span {
    display: inline-block;
    font-size: 2.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

h1 span:hover {
    transform: scale(1.4);
    color: white;
    text-shadow: 0 0 15px cyan, 0 0 30px orange;
}

h2,
h3 {
    display: flex;
    justify-content: center;
    gap: 5px;
    color: white;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    top: 10px;
}   

#services {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

#information p {
    color: lightgray;
    font-size: 0.9rem;
    margin: 10px 0;
    text-align: center;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 10px;
    width: 500px;
    height: 500px;
    text-align: center;
    transition: transform 0.3s, background 0.3s;
    padding: 32px 24px;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    
}

.service h3 {
    color: white;
}
.service p {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.service img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 16px auto;
    border-radius: 8px;
    filter: brightness(0) invert(1);
}

#about,
#timeline {
    color: white;
    text-align: center;
    padding: 50px;
    background: transparent;
    margin: 0 auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    width: 600px;
}

#timeline a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-decoration-line: underline;
}

#timeline li {
    color: white;
    list-style: none;
    padding: 5px 0;
    text-align: left;
}

#about button {
    color: white;
}

#information {
    height: 100vh;
    color: white;
}



#information-about {
    display: flex;
    flex-direction: row;
    padding: 20px;
}

footer {
    position: relative;
    text-align: center;
    padding: 20px;
    color: white;
    
}

#worldwideweb,
#socialmedia {
    width: 100px;
    height: 100px;
    padding-top: 20px;
}

.social-logo {
    filter: invert(1);

}

/* From Uiverse.io by barisdogansutcu */ 
.button {
  padding: 17px 40px;
  border-radius: 50px;
  cursor: pointer;
  border: 1px solid white;
  background-color: transparent;
  color: white;
  box-shadow: rgb(0 0 0 / 5%) 0 0 8px;
  letter-spacing: 1.5px;
  font-size: 15px;
  transition: all 0.5s ease;
}

.button:hover {
  letter-spacing: 3px;
  background-color: transparent;
  color: hsl(0, 0%, 100%);
  box-shadow: white;
}

.button:active {
  letter-spacing: 3px;
  color: hsl(0, 0%, 100%);
  box-shadow: white;
  transform: translateY(10px);
  transition: 100ms;
}

#contact {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: center;
}

#contact p {
    color: white;

    margin: 10px 0;
    text-align: center;
}

#contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-decoration-line: none;
}

/* From Uiverse.io by gharsh11032000 */ 
.form-container,
.contact-info {
  width: 600px;
  background: transparent; 
  border: none;                   
  border-radius: 10px;            
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); 
  color: white;
  padding: 50px 24px;            
  font-size: 14px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
}

.form-container button:active {
  scale: 0.95;
}

.form-container .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-container .form-group label {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-weight: 600;
  font-size: 12px;
}

.form-container .form-group input {
  width: 90%;
  padding: 12px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  background-color: transparent;
  border: 1px solid white;
}

.form-container .form-group textarea {
  width: 90%;
  padding: 12px 16px;
  border-radius: 8px;
  resize: none;
  color: #fff;
  height: 96px;
  border: 1px solid white;
  background-color: transparent;
  font-family: inherit;
}

.form-container .form-group input::placeholder {
  opacity: 0.5;
}

.form-container .form-group input:focus {
  outline: none;
  border-color: #e81cff;
}

.form-container .form-group textarea:focus {
  outline: none;
  border-color: #e81cff;
}

.form-submit-btn {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: flex-start;
  font-family: inherit;
  color: #717171;
  font-weight: 600;
  width: 40%;
  background: rgba(255, 255, 255);
  border: 1px solid #414141;
  padding: 12px 16px;
  font-size: inherit;
  gap: 8px;
  margin-top: 8px;
  cursor: pointer;
  border-radius: 6px;
}

.form-submit-btn:hover {
  background-color: #717171;
  border-color: #fff;
  color: white;
}

/* Main content elements: */
header,
#services,
#about,
#information,
footer,
.form-container,
.button,
nav,
h1,
h2,
h3,
.service,
.contact-links {
    position: relative;
    z-index: 1; /* Make sure these are above the aurora */
}


@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    
    header {
        height: 100vh;
    }

    #services {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 90%;
        height: auto;
    }

    #information-about {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #aboutHeader {
        margin-top: 100px;
    }

    #about,
    #timeline {
        align-items: center;
        max-width: 700px;
        width: 90%;
        margin: 0 auto;
        padding: 20px;
        font-size: 1.1rem;
        word-break: break-word;
        gap: 20px;
    }

    .form-container {
        width: 90%;
        margin-top: 30px;
    }
    .contact-info {
        width: 90%;
    }

    #contactHeader {
        text-align: center;
        margin-top: 450px;
    }

    #contact {
        flex-direction: column;
        align-items: center;
    }


    nav ul li {
        margin: 0 10px;
    }
}