* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    background-color: #A1BE95 ; /* Fixed comment syntax */
}

.cedarville-cursive-regular {
    font-family: "Cedarville Cursive", cursive;
    font-weight: 400;
    font-style: normal;
}

/* Page 1 Styles */
.page1 {
    min-height: 100vh;
    width: 100%;
    /* background: linear-gradient(200deg, #180161, rgba(79, 23, 135, 1), #eb3678, #fb773c); */ /* Commented out background */
}

.main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.logo {
    display: flex;
    font-family: Lobster;
}

.logo h6 {
    font-family: Cedarville Cursive;
    margin-left: 2vw;
    font-size: clamp(2rem, 5vw, 3rem);
    cursor: pointer;
}

.navbar {
    height: auto;
    min-height: 15vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color:#F98866;
    box-shadow: 0px 5px 10px rgb(3, 3, 49);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem;
}

.navbar h5 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin: 0.5rem;
    text-decoration: none;
}

.word {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

h5 {
    height: auto;
    width: auto;
    text-align: center;
    color: black;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

h5:hover {
    box-shadow: 0px 5px 10px rgb(3, 3, 49);
    color: white;
    background-color: black;
    border-radius: 20px;
    cursor: pointer;
}

button {
    background-color: #fff1f1;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    height: auto;
    font-size: 1rem;
    font-weight: 700;
}

button:hover {
    background-color: rgb(255, 14, 14);
    color: rgb(0, 0, 0);
}

.welcome h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 8s steps(100, end) infinite;
}

@keyframes typing {
    to {
        width: 100%;
    }
}

.welcome {
    height: auto;
    width: 35.3%;
    margin: 20vh 0 0 35vw;
    max-width: 600px;
    text-align: center;
}

.welcome h2 {
    color: rgba(250, 235, 215, 0.747);
    margin-top: 0.2rem;
    margin-left: -12vw;
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.welcome i {
    font-size: clamp(3rem, 10vw, 7rem);
    margin-top: 20vh;
}

.social {
    height: auto;
    width: auto;
    background-color:#F98866;
    border-radius: 0 25px 25px 0; /* Fixed border-radius syntax */
    box-shadow: 5px 0 60px rgba(208, 228, 234, 0.733);
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 2vh 1vw;
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.social i {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.social :nth-child(2) {
    color: #E4405F;
}

.social :nth-child(3) {
    color: #0077B5;
}

.social :nth-child(4) {
    color: #24292E;
}

.fa-square-facebook {
    color: #365899;
}

/* Page 2 Styles */
.page2 {
    min-height: 100vh;
    width: 100%;
    /* background: linear-gradient(700deg, #180161, rgba(79, 23, 135, 1), #eb3678, #fb773c); */ /* Commented out background */
    margin-top: -0.95vh;
    padding: 2rem 0;
}

.eb-garamond {
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.page2 h1 {
    font-family: EB Garamond;
    text-align: center;
}

.page2 .words {
    min-height: 100vh;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.page2 .words h1 {
    font-size: clamp(1.5rem, 5vw, 4rem);
    font-weight: 900;
}

/* Page 3 Styles */
.page3 {
    min-height: 100vh;
    width: 100%;
    /* background: linear-gradient(200deg, #180161, rgba(79, 23, 135, 1), #eb3678, #fb773c); */ /* Commented out background */
}

.page3 h1 {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 900;
    text-align: center;
    margin-top: 5vh;
    text-decoration: underline;
    text-decoration-style: double;
    text-transform: uppercase;
    color: rgb(11, 38, 87);
}

.mainbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.mainbox .box {
    flex: 1 1 300px;
    max-width: 400px;
    background-color: white;
    margin: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.box h2 {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 900;
    text-align: center;
    padding: 1rem;
}

.box button {
    margin: 1rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.view-button:hover {
    background-color: black;
    color: white;
}

.visit-button {
    color: black;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    display: inline-block;
    margin: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid black;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.visit-button:hover {
    background-color: black;
    color: white;
}

/* Page 4 Styles */
.page4 {
    min-height: 120vh;
    width: 100%;
    /* background: linear-gradient(20deg, #180161, rgba(79, 23, 135, 1), #fb773c, #eb3678); */ /* Commented out background */
}

.page4 h1 {
    font-size: clamp(1rem, 4vw, 2rem);
    text-align: center;
    margin-top: 5vh;
    text-decoration: underline;
    text-decoration-style: double;
    padding-bottom: 2vh;
    color: rgb(11, 38, 87);
}

.page4 h2 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    margin-top: 2vh;
}

.w2 img {
    width: 42%;
    float: right;
    margin-left: 20px;
    margin-top: -50vh;
}

.w2 button {
    margin-left: 45vw;
    margin-top: -12vh;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.w2 button:hover {
    background-color: black;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.w1 {
    width: 50%;
}

.w1 h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-size: 4rem;
    margin-top: 8vh;
    margin-left: 6vw;
}

.w1 p {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-left: 6vw;
}

.w1 .frontend {
    margin-left: 6vw;
    margin-top: 2vh;
    font-size: 2rem;
    font-weight: 900;
    text-transform: capitalize;
}

.w1 .icon {
    gap: 2rem;
    display: flex;
    font-size: 4rem;
    margin-top: 2vh;
}

.w1 .backend {
    margin-left: 6vw;
    margin-top: 2vh;
    font-size: 2rem;
    font-weight: 900;
    text-transform: capitalize;
}

.w1 .database {
    margin-left: 6vw;
    margin-top: 2vh;
    font-size: 2rem;
    font-weight: 900;
    text-transform: capitalize;
}

/* Page 5 Styles */
.page5 {
    min-height: 60vh;
    width: 100%;
    /* background: linear-gradient(200deg, #180161, rgba(79, 23, 135, 1), #eb3678, #fb773c); */ /* Commented out background */
}

.join-form {
    width: 90%;
    max-width: 500px;
    margin: 0 auto 15vh;
    margin-bottom: 5vh;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.page5 h1 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
    text-decoration: underline double;
    text-transform: uppercase;
    color: white; /* Fixed duplicate color property */
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    color: black;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #000000;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    color: black;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #1990ff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0066cc;
}

/* Footer Styles */
.footer {
    background-color: #040433a0;
    color: #fff;
    padding: 40px 0;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    margin: 20px;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.footer-section p, .footer-section ul {
    font-size: 1rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fb773c;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fb773c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Mouse Follower Styles */
#mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease-out;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
}

#mouse-follower::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .word {
        justify-content: center;
        margin-top: 1rem;
    }

    .social {
        flex-direction: row;
        bottom: 0;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 25px 25px 0 0;
        padding: 1vh 2vw;
    }

    .mainbox .box {
        flex: 1 1 100%;
        margin: 1rem 0;
    }

    .box img {
        height: 200px;
    }

    .page2 .words h1 {
        font-size: clamp(1.2rem, 4vw, 3rem);
    }
}

@media screen and (max-width: 480px) {
    .page4 h1 {
        font-size: 3rem;
    }

    .page4 h2 {
        font-size: 1.5rem;
    }

    .page4 p {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 2vh;
    }

    .page3 h1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .box h2 {
        font-size: 1rem;
    }

    .box button,
    .visit-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .social i {
        font-size: clamp(1.2rem, 3vw, 2rem);
    }

    .page2 .words {
        gap: 1rem;
    }

    .page2 .words h1 {
        font-size: clamp(2.5rem, 8vw, 5rem);
        margin: 0;
        padding: 15px 0;
        width: 100%;
        text-align: center;
    }

    .w1, .w2 {
        width: 100%;
    }

    .w2 img {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-top: 2vh;
    }

    .w2 button {
        margin-left: 0;
        margin-top: 2vh;
        display: block;
        margin-right: auto;
        margin-left: auto;
    }

    .w1 h3, .w1 p, .w1 .frontend, .w1 .backend, .w1 .database {
        margin-left: 0;
        text-align: center;
    }

    .w1 .icon {
        justify-content: center;
    }

    .join-form {
        width: 100%;
        padding: 10px;
    }

    .form-group input {
        font-size: 12px;
    }

    .submit-btn {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .page1 {
        padding: 20px;
    }
    .page1 #mouse-follower {
        display: none;
    }

    .page1 {
        height: 15vh;
        min-height: 80px;
        /* background-color: blue; */ /* Commented out background color */
    }

    .navbar {
        display: none;
    }

    .page3 h1 {
        font-size: 2rem;
        color: white;
    }

    .page2 h1,
    .page2 h2 {
        color: white;
    }

    .social {
        transform: scale(1.2);
        margin: 15px 0;
        margin-left: -30vw;
        margin-bottom: -0.1px;
    }

    .social i {
        font-size: 1.5rem;
        margin: 0 8px;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px 0;
        background-color: rgba(161, 111, 111, 0.58);
        box-shadow: 0px 5px 10px rgb(3, 3, 49);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo h6 {
        font-size: 1.5rem;
        color: #000000;
        margin: 0;
    }

    .welcome h1 {
        font-size: 15vh;
        font-weight: bold;
        color: #000000;
        text-align: center;
        overflow: visible;
        width: auto;
        margin-top: 5vh;
    }

    .welcome h2 {
        display: none;
    }

    .welcome {
        text-align: center;
        margin-top: 20px;
    }

    .welcome h1 {
        font-size: 2rem;
        margin-left: -30vw;
    }

    .welcome h2 {
        font-size: 1.2rem;
    }

    .welcome i {
        display: none;
    }

    .word {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .join-form {
        width: 95%;
        padding: 15px;
    }

    .form-group input {
        font-size: 14px;
    }

    .submit-btn {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        margin: 10px 0;
    }

    .social-icons {
        justify-content: center;
    }
   
}