/*PINAKA FONT*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

/*PAGE 1*/
body {
  background-image: url('image/firstpage1.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/*HEADER BG*/
.header {
  width: 100%;
  background-color: #01013d89;
  box-shadow: #888;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  z-index: 20;
}

/*ALL ELEMENTS IN HEADER POSITION*/
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*POSITION NG ANIMATED ICON SA LEFT*/
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px; 
}

/*ANIMATED ICON GIF SIZE*/
.logo-animated {
  width: 40px; 
  height: 40px;
  vertical-align: middle;
  margin-left: -10px;
  margin-right: 10px;
  
}

/*HOME, DISCOVER, AND ABOUT US POSITION*/
.nav-center {
  display: flex;
  gap: 125px;
}

/*DESIGN NG HOME, DISCOVER, AND ABOUT US*/
.nav-link {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

/*HOVER NG HOME, DISCOVER, AND ABOUT US*/
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #9298cd;
  transition: width 0.2s ease;
}

/*SIZE NG HOVER*/
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/*POSITION NG LOGIN ANG SIGN UP*/
.nav-right {
  display: flex;
  gap: 12px;
}

/*LOG IN BUTTON SIZE AND DESIGN*/
.btn {
  padding: 8px 30px;
  border-radius: 999px;        
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.btn-outline {
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.btn-filled {
  border: none;
  color: #ffffff;
  background-color: #4c5bdc;
}

.btn-outline:hover {
  background-color: #2d3883;
  color: #ffffff;
}

.btn-filled:hover {
  background-color: #40446acc;
}

.content {
  padding: 60px 40px;
  color: #202033;
}

.content h1 {
  font-size: 75px;
  margin-bottom: 25px;
  
}

.shining-text {
  font-size: 50px;
  font-weight: bold;
  background: linear-gradient(90deg, #fff, rgb(41, 29, 126), #8498cb);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
  animation-direction: alternate;
  position: absolute;
  top: 37%;
  left: 12%;

}

@keyframes shine {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}


.content p {
  font-size: 17px;
  color: #8b8fa6;
  line-height: 1.5;
  margin-top: 0px;
  position: absolute;
  top: 50%;
  left: 12%;
  right: 45%;

}

.container {
  background-image: url('image/firstcontainer.png');
  background-size: 1250px;
  background-position: center;
  background-repeat: no-repeat;
  animation: containerEnter 0.8s ease-out forwards;

  position: relative;
  padding: 375px;
  border-radius: 50px;
  margin-top: center;
  margin-bottom: -50px;

}

@keyframes containerEnter {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);  
  }

}

.readmore-link {
  position: absolute;
  top: 60%;    
  left: 10%;
  transform: translateY(10px); 

  font-size: 14px;
  font-weight: 600;
  color: #b3b3be;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;

}


.readmore-link::after {
  content: "";
  display: block;
  width: 60%;  
  height: 3px; 
  margin: 4px auto 0; 
  background-color: #b3b3be;
  border-radius: 999px;
  width: 90%;
}

.feature-container {
    display: flex;
    gap: 30px;
    margin-top: -150px; 
    margin-left: 135px;
    margin-bottom: 50px;
    animation: containerEnter 0.8s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}


.container2,
.container3 {
    background-color: #07166aac; 
    border-radius: 15px; 
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); 
    padding: 20px;
    width: 305px; 
    animation: containerEnter 0.8s ease-out forwards;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.container2-content,
.container3-content {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
}


.container2-icon,
.container3-icon {
    width: 60px; 
    height: auto;
}

.container2-text-group,
.container3-text-group {
    flex-grow: 1; 
}

.container2-title,
.container3-title {
    font-size: 11px;
    font-weight: 600; 
    color: #b7b7e2;
    margin-bottom: 5px; 
}

.container2-description,
.container3-description { 
    font-size: 11px; 
    color: #8b8fa6;
    line-height: 1.4;
}


.container4 {
    background-color: #07166aac; 
    border-radius: 15px; 
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); 
    padding: 20px;
    width: 305px; 
    margin-left: 260px;
    animation: containerEnter 0.8s ease-out forwards;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.container4-content {
    display: flex;
    align-items: flex-start; 
    gap: 15px;
}

.container4-icon {
    width: 60px; 
    height: auto;
}

.container4-text-group {
    flex-grow: 1; 
}

.container4-title {
    font-size: 11px;
    font-weight: 600; 
    color: #b7b7e2;
    margin-bottom: 5px; 
}

.container4-description { 
    font-size: 11px; 
    color: #8b8fa6;
    line-height: 1.4;
}

.zoom {
    transition: transform 0.3s ease; 

}

.zoom:hover {
    transform: scale(1.1); 

}

.readmore-link:hover {
    transform: scale(1.0);

}














































/*
 * ---------------------------------------
 * RESPONSIVE ADJUSTMENTS (MEDIA QUERIES)
 * ---------------------------------------
 */

/* 1. TABLET/SMALL LAPTOP ADJUSTMENTS (Screen width up to 1024px) */
@media (max-width: 1024px) {
    .header {
        padding: 15px 25px; /* Reduce header padding */
    }

    /* Adjust main navigation spacing */
    .nav-center {
        gap: 50px; /* Reduce spacing between nav links */
    }
    
    /* Adjust content positioning for better visibility on smaller screens */
    .shining-text {
        font-size: 40px; /* Smaller font size */
        top: 30%;
        left: 5%; /* Move slightly left */
    }

    .content p {
        font-size: 16px;
        top: 42%;
        left: 5%; /* Move slightly left */
        right: 35%; /* Allow text to take up more space */
    }
    
    .readmore-link {
        top: 55%; /* Adjust position */
        left: 3%;
    }

    /* Adjust the main container for smaller viewports */
    .container {
        background-size: 1000px; /* Scale down the background image */
        padding: 300px; /* Reduce padding to shrink the container area */
        margin-bottom: -10px; /* Adjust margin */
    }

    /* Adjust feature containers layout */
    .feature-container {
        gap: 20px;
        margin-top: -100px; /* Move up slightly */
        margin-left: 50px; /* Move left for better centering */
    }

    .container2,
    .container3 {
        width: 250px; /* Slightly smaller width */
    }

    /* Re-position the single container (container4) */
    .container4 {
        margin-left: 50px; /* Align with the feature-container start */
        margin-top: 20px; /* Add space below feature-container */
    }
}

/* 2. MOBILE ADJUSTMENTS (Screen width up to 768px - standard tablet portrait) */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }

    /* Hide the center navigation links on mobile */
    .nav-center {
        display: none;
    }
    
    /* Center the Login/Signup buttons if nav-center is hidden */
    .nav {
        justify-content: space-between; /* Keep space-between */
    }
    
    .logo-animated {
        width: 35px; /* Slightly smaller logo */
        height: 35px;
        margin-left: 0;
    }
    
    .btn {
        padding: 8px 18px; /* Smaller buttons */
        font-size: 12px;
    }
    
    /* Adjust content for mobile */
    .shining-text {
        font-size: 30px;
        top: 20%; /* Move up */
        left: 5%;
        position: relative; /* Use relative positioning */
        -webkit-background-clip: unset; /* Revert clipping for better mobile readability */
        -webkit-text-fill-color: #f0f0ff; /* Use a solid white-ish color */
        background: none; /* Remove animated background */
        animation: none; /* Remove animation */
        font-weight: 700;
        margin-left: 5px;
    }

    .content p {
        font-size: 15px;
        top: 0; /* Adjust relative to shining-text */
        left: 5%;
        right: 5%; /* Full width */
        position: relative;
        margin-top: 10px;
        margin-left: 5px;
    }
    
    .readmore-link {
        top: 0;
        left: 5%;
        position: relative;
        margin-top: 20px;
        margin-left: 5px;
    }
    
    /* Remove the large background image container on mobile */
    .container {
        background-image: none; /* Remove image */
        padding: 20px; /* Reduce padding significantly */
        margin-top: 20px; /* Add some margin at the top */
        margin-bottom: 20px;
        border-radius: 0; /* Remove border-radius */
    }

    /* Stack feature containers vertically */
    .feature-container {
        flex-direction: column; /* Stack vertically */
        gap: 15px;
        margin-top: 20px;
        margin-left: 5%; /* Align to the left */
        margin-right: 5%;
    }

    .container2,
    .container3,
    .container4 {
        width: 90%; /* Take up most of the screen width */
        margin-left: 0; /* Remove extra margin */
        margin-right: 0;
        padding: 15px; /* Reduce padding */
    }

    /* Adjust container4 positioning to align with the others */
    .container4 {
        margin-left: 5%;
        margin-top: 0;
    }
}

/* 3. SMALL MOBILE ADJUSTMENTS (Screen width up to 480px) */
@media (max-width: 480px) {
    /* Reduce padding for very small screens */
    .header {
        padding: 10px;
    }

    .nav-right {
        gap: 5px; /* Reduce gap between buttons */
    }
    
    .btn {
        padding: 6px 15px; /* Even smaller buttons */
        font-size: 11px;
    }

    .shining-text {
        font-size: 24px;
    }
    
    .content p {
        font-size: 14px;
        right: 3%;
        left: 3%;
    }

    /* Center the feature containers on the screen */
    .feature-container {
        align-items: center;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }

    .container2,
    .container3,
    .container4 {
        width: 90%; /* Keep 90% width */
        margin-left: 0;
        margin-right: 0;
    }
}