html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #d3cce3, #e9e4f0);
    height: auto;
    display: flex;
    overflow: auto;
    justify-content: safe center;
    align-items: safe center;
    margin: auto;
}

.login {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    vertical-align: center;
    margin-top: 30%;
}

.login h1 {
    margin-bottom: 30px;
    font-size: 26px;
    color: #5e42a6;
    font-weight: 700;
}

.login input[type="text"], .login input[type="password"], .login input[type="submit"] {
    margin: 10px 0;
}

.login input[type="submit"] {
    margin-top: 20px;
}

.login:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.login label i {
    font-size: 18px;
    color: #7d5ba6;
    margin-right: 10px;
}

.login input[type="text"], .login input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s ease;
}

.login input[type="text"]:focus, .login input[type="password"]:focus {
    border-color: #7d5ba6;
    outline: none;
}

.login input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #7d5ba6;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.login input[type="submit"]:hover {
    background-color: #6a48a1;
    transform: translateY(-3px);
}

b* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.loggedin {
    margin: 0;
    padding-top: 70px;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #d3cce3, #e9e4f0);
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #5e42a6;
}

.navtop {
    width: 100%;
    background-color: #5e42a6;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navtop div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}

.navtop h1 {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.navtop ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navtop ul li {
    margin-left: 20px;
}

.navtop ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.navtop ul li a:hover {
    color: #d3cce3;
}

.content {
    padding: 40px;
    max-width: 900px;
    text-align: center;
    margin-top: 50px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.content h1 {
    margin-bottom: 30px;
    font-size: 26px;
    color: #5e42a6;
    font-weight: 700;
}

.button {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    background-color: #7d5ba6;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
    background-color: #6a48a1;
    transform: translateY(-3px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #d3cce3, #e9e4f0);
    color: #5e42a6;
}

.navtop {
    width: 100%;
    background-color: #5e42a6;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navtop div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
}

.navtop h1 {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.navtop a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.navtop a:hover {
    color: #d3cce3;
}

.content {
    padding: 40px;
    max-width: 900px;
    text-align: center;
    margin-top: 70px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.content h2 {
    font-size: 24px;
    color: #5e42a6;
    font-weight: 700;
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    color: #5e42a6;
}

form input[type="radio"] {
    margin: 10px;
    cursor: pointer;
}

form input[type="submit"] {
    padding: 12px 20px;
    background-color: #7d5ba6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #6a48a1;
    transform: translateY(-3px);
}

#p1 {
    font-size: 18px;
    color: #7d5ba6;
    margin-top: 20px;
}

.success {
    color: #28a745;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.error {
    color: #dc3545;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#p1 {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

#p1.show {
    display: block;
    color: lavender;
}

#p1.success {
    background-color: #4CAF50;
}

#p1.error {
    background-color: #f44336;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.welcome-section {
    text-align: center;
    margin: 50px 0;
    padding: 20px;
    width: 100%;
    max-width: 900px;
}

.welcome-section .welcome {
    font-size: 32px;
    color: #5e42a6;
}

.welcome-section h2 {
    font-size: 24px;
    color: #7d5ba6;
    margin-bottom: 20px;
}

.welcome-section h3 {
    font-size: 24px;
    color: #7d5ba6;
    margin-bottom: 20px;
}

.welcome-section .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7d5ba6;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.welcome-section .button:hover {
    background-color: #5e42a6;
}

.timeline-section {
    width: 100%;
    padding: 20px;
    max-width: 900px;
    margin-bottom: 50px;
    justify-content: center
}

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400&display=swap');

.design-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #5e42a6;
  min-height: 100vh;
  padding: 100px 0;
  font-family: Jost;
  border-radius: 50px;
}

.design {
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.timeline-content {
  padding: 20px;
  background: #7d5ba6; 
  box-shadow: 5px 5px 10px #4b2e83, -5px -5px 10px #6f4aa6; 
  border-radius: 5px;
  color: #ffffff; 
  padding: 1.75rem;
  transition: 0.4s ease;
  overflow-wrap: break-word !important;
  margin: 1rem;
  margin-bottom: 20px;
  border-radius: 6px;
}

.timeline-component {
  margin: 0px 20px 20px 20px;
}

@media screen and (min-width: 768px) {
  .timeline {
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
  }
  
  .timeline-middle {
    position: relative;
    background-image: linear-gradient(45deg, #d3cce3, #b9a7d9, #7d5ba6); 
    width: 3px;
    height: 100%;
  }

  .main-middle {
    opacity: 0;
  }

  .timeline-circle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-image: linear-gradient(45deg, #d3cce3, #b9a7d9, #7d5ba6); 
    transform: translateX(-50%);
  }
}
.footer {
    width: 100%;
    background-color: #5e42a6;
    padding: 20px;
    border-radius: 15px;
    color: #ffffff;
    text-align: center;
    position: relative;
    margin-top: 50px;
    clear: both;
}

.footer-container {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.footer-right h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    margin-right: 10px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:last-child {
    margin-right: 0; 
}

.social-icons a:hover {
    color: #d3cce3;
}

.footer-bottom p {
    font-size: 14px;
    margin: 0;
    padding-bottom: 10px;
}

.floating {
    opacity: 1;
    transform: none;
    transition: none;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        margin-bottom: 20px;
    }
}

.floating {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.floating.appear {
    opacity: 1;
    transform: translateY(0);
}


.hero-section {
    position: relative;
    height: 60vh;
    background: linear-gradient(45deg, #6a4ef1, #8a2be2, #b23aee, #9370db, #e0b0ff);
    background-size: 300% 300%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: gradientShift 10s ease infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 80%;
    padding: 20px;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #6a4ef1;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-btn:hover {
    background-color: #4e3db9;
    transform: translateY(-3px);
}

.hero-content:hover .hero-title,
.hero-content:hover .hero-subtitle {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
}

/* Dynamic Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
select {
    appearance: none;
    background-color: #6a4ef1;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Jost', sans-serif;
    padding: 8px 16px;
    margin-top: 10px;
    cursor: pointer;
    outline: none;
}

select:hover {
    background-color: #9370db;
    transform: translateY(-2px);
}
