/* General Reset and Base Styles */
*, *:before, *:after {
    box-sizing: border-box;
}
#splash-video::-webkit-media-controls {
    display: none !important;
  }
  
html {
    
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: #000000;
}
body {
    height: auto;
    margin: auto;
    padding: 0;
    font-family: "freight-neo-pro";
    text-align: center;
    background-image: url(../assets/images/background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    scrollbar-width: thin; 
    background-position: top;
}


.pdf-flex{
    display: flex;
    gap: 1rem;
}
#pdf-link{
    margin: 0;
}

.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 600px;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
embed{
    max-width: 100%;
    height: 600px;
}

.modal.show {
    visibility: visible;
    opacity: 1;
}


.close {
    color: #f4f4f4;
    font-size:5rem;
    font-weight: bold;
    position: absolute;
    top: 2rem;
    right: 0;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}
  
.close:hover,
.close:focus {
    color: #e6a8ff;
    text-decoration: none;
    cursor: pointer;
}
/* Tooltip Styling */
img::after {
    content: attr(alt); 
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: 1000;
}

img:hover::after {
    opacity: 1;
}

/* Splash screen that covers the entire page */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#splash-video {
  width: 100%;
  height: auto;
}
/* Styling the scrollbar */
::-webkit-scrollbar {
    width: 8px; 
    background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(29, 0, 41, 1) 100%); 
}

/* Styling the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: #e6a8ff; 
    border-radius: 5px;
}

/* Optional: Hover effect for the scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background: #d292ff; 
}


#light {
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(56, 55, 55, 0.336) 90%, rgba(111, 111, 111, 0.573) 80%);
    width: 150px;
    height: 150px;
    position: fixed; 
    border-radius: 50%;
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 10000; 
    transform: translate(-50%, -50%); 
  }

  


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #e6a8ff;
    color: #3f125b;
    font-size: 30px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: none;
    transition: all 0.3s ease;
    z-index: 10;
  }
  
.back-to-top:hover {
   border: 1px solid #f4f4f4;
   background-color: transparent;
   color: #f4f4f4;
   cursor: pointer;

}
  

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
  

h1{
    border: 1px solid #f4f4f4;
    /* box-shadow: 0 0 0 0.5px #f4f4f4; */
    font-size: 2rem;
    font-family: pf-marlet-display, sans-serif;
    padding: 1%;
}
.hidden {
    opacity: 0;
    visibility: hidden;
}

.container {

    margin: auto;
    padding: 1.5rem;
    width: 100%;
    max-width:  1200px;
    color: #f4f4f4;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10rem;

    
}
a{
    text-decoration: none;
}
header {
    max-width: 100%;
    width: 100%;
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
}

header.scrolled {
    background: radial-gradient(circle, rgba(0, 0, 0, 1) 0%, rgba(29, 0, 41, 1) 100%); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); 
    
}

header.scrolled .logo {
    transform: scale(0.8);
    transition: transform 0.3s ease; 
}
.logo {
    width: 100px;
    padding: 5px;
    cursor: pointer;
    transform: scale(1); 
    transition: transform 0.3s ease; 
}

.nav-links {
    font-family: "freight-neo-pro";
    font-size: 1.3rem;
    display: flex;
    gap: 50px;
}

.nav-links a {
    padding: 5px 10px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #f4f4f4;
    scroll-behavior: smooth;
    border: 1px solid transparent; /* Prevent flickering */
}

/* Hover effect */
.nav-links a:hover {
    border: 1px solid #f4f4f4;
    background-color: transparent;
    transform-origin: center;
}
/* Targeted state when the section is in view */
.nav-links > a:target {
    border: 1px solid #f4f4f4;
    background-color: transparent;
    transform-origin: center;
}
.contact {
    scroll-margin-top: 12rem;
    z-index: 1;
    border-radius: 0 160px 0 160px;
    background-image: url(../assets/images/contact-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.6);
}
.contact-me{
    margin: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: block;

}
form{
    margin-bottom: 1.5rem;
}
.contact-me h1{
    color: #f4f4f4;
    align-self: self-end;
    margin-top: 3rem;
}
.contact-floatText > h2{
    position: absolute;
    top: -4rem;
    font-size: 5rem; 
    font-weight: bolder;
    color: #f4f4f4;
    letter-spacing: 0.2rem;
    text-align: left;
    z-index: 10;
}
.contact-floatText > p{
    text-align: left;
    color: #f4f4f4;
    font-size: 1.5rem;
    position: absolute;
    top: 5.8rem;
    font-style: italic;
    letter-spacing: 0.1rem;
    

}
.contact-me2 {
    border-radius: 0 160px 0 160px;
    width: 100%;
    height: auto;
    z-index: 1;
    background-color: black;
    display: none;
}

h3{
    font-size: 4rem;
    font-family: pf-marlet-display, sans-serif;
}
.confirm-text{
    height: 400px;
    display: flex;
    gap: 1rem;
    text-align: left;
    justify-content: center;
    font-size: 1.5rem;
    
}

label {
    font-size: 1.2rem;
    color: #f4f4f4;
}

.form-grid {
    width: 100%;
    display: flex;
    margin-bottom: 2rem;
    justify-content:space-between;
    align-items: center;
}

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

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

.form-sect {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}
input{
    height: 40px;
}
input, textarea {
    color: #f4f4f4;
    width: 420px;
    padding: 2%;
    font-size: 1.2rem;
    font-family: "freight-neo-pro";
    background-color: transparent;
    border: none;
    border: 1px solid #f4f4f4;
}

input::placeholder, textarea::placeholder {
    font-size: 1rem;
    opacity: 0.5;
    font-family: "freight-neo-pro";
    color: #f4f4f4;
}

textarea {
    height: 218px;
    resize: none;
}

button {
    padding: 1rem;
    background-color: #e6a8ff;
    color: #3f125b;
    transition: all 0.5s ease-in-out;
    border: none;
    font-size: 1.5rem;
    margin: 0 auto; 
    border: 1px solid #000000;
}

button:hover {
    background-color: transparent;
    border: 1px solid #e6a8ff;
    color: #f4f4f4;
    cursor: pointer;

}

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 2rem;
    padding-bottom: 2%;
}
.design{
    width: 100%;
    
}
.footer-logo{
    width: 80px;

}
.footer-social-icons{

    display: flex;
    gap: 15px;
}
.footer-social-icons a{

   color: #f4f4f4;
   transition: color 0.2s ease-in-out;

}
.footer-social-icons a:hover{

   color: #e6a8ff;
}
.footer-social-icons{

    display: flex;
    gap: 15px;
}
.copyright {
    display: flex;
    gap: 0.5rem;
    font-size: 1rem;
    color: #f4f4f4;
    
}
#date{
    font-size: 1rem;
    line-height: 1rem;
}

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

    body{
        width: 100%;
        background-position: center;
    }
    header {
        max-width: 100%;
        width: 100%;
        padding: 1rem 0.5rem;
        flex-direction: column;
        gap: 10px;
    }
    #light {
        display: none;
    }
    .logo {
        width: 80px;
    }

    button {
        font-size: 1.5rem;

    }
    .container{
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        gap: 4rem;
    }

    .nav-links {
        width: 100%;
        font-size: 1rem;
        padding: 0.5rem;
        justify-content: space-evenly;
        gap: 0px;
    }
    .contact{
        scroll-margin-top: 17rem;

    }
    .form-grid{
        flex-direction: column;
        gap: 1rem;
    }
    .contact{
       border-radius: 0 50px 0 50px;
    }
    .contact-me h1{
        align-self:center;
    }
    .left-column{
        width: 100%;
    }
    .right-column{
        width: 100%;
    }
    input, textarea {
        width: 100%;
    }
    .contact-floatText > h2 {
        font-size: 3.5rem;
        top: -5rem;
    }
    .contact-floatText > p {
        font-size: 1.5rem;
        top: 2rem;
    }
    button{
        font-size: 1rem;
    }
    .contact-me2 {
        border-radius: 0 50px 0 50px;

    }
}

@media screen and (min-width: 600px) and (max-width: 768px) {
    body{
        width: 100%;
        background-position: center;
    }
    button {
        font-size: 1.5rem;

    }
    #light {
        display: none;
    }
    .container{
        width: 100%;
        max-width: 100%;
        gap: 4rem;
        padding: 1.5rem;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem;
    }

    input, textarea {
        width: 100%;
    }
    .form-grid{
        flex-direction: column;
        gap: 1rem;
    }
    .left-column{
        width: 100%;
    }
    .right-column{
        width: 100%;
    }
    .contact-floatText > h2 {
        font-size: 3.5rem;
        top: -2rem;
    }
    .contact-floatText > p {
        font-size: 1.5rem;
        top: 6rem;
    }
    .contact-me2 {
        border-radius: 0 50px 0 50px;

    }
}
/* For mobile screens */
@media screen and (min-width: 769px) and (max-width:1024px){
    
    .container{
        width: 100%;
        max-width: 1000px;
        max-width: 100%;
        gap: 10rem;
        padding: 1.5rem;
    }
    input, textarea {
        width: 350px;
    }
    form{
        margin: auto;
    }
    .form-grid{
        justify-content: center;
        gap: 2rem;
    }
    .left-column{
        width: 100%;
    }
    .right-column{
        width: 100%;
    }
    
}