@font-face {
    font-family: 'dancing';
    src: url('fonts/dancing.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: Arial, sans-serif;
}

.main {
    width: 100%;
    background: linear-gradient(to top, rgba(59,23,0,0.5) 92%, rgba(38,9,2,0.5) 8%), url(img1.jpg);
    background-position: center;
    background-size: cover;
    min-height: 120vh;
}

.mainPanduan {
    width: 100%;
    background: linear-gradient(to top, rgba(59,23,0,0.5) 92%, rgba(38,9,2,0.5) 8%), url(img1.jpg);
    background-position: center;
    background-size: cover;
    min-height: 120vh;
}

.navbar {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icon .logo {
    color: #fbb56d;
    font-size: 35px;
    font-family: 'dancing';
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li a {
    color: #fff;
    font-weight: bold;
    font-family: Arial;
    text-decoration: none;
    transition: color 0.4s ease-in-out;
}

.menu ul li a:hover {
    color: #ff7200;
}

.content-container {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.content {
    flex: 1;
    color: #fff;
    padding: 10px;
}

.content h1 {
    font-family: 'Times New Roman';
    font-size: 50px;
    padding-left: 20px;
    letter-spacing: 2px;
    color: #fff;
}

.content h2 {
    font-family: 'Times New Roman';
    font-size: 50px;
    padding-left: 20px;
    margin-top: 9%;
    letter-spacing: 2px;
    color: #fff;
}

.content span {
    color: #fbb56d;
    font-size: 65px;
}

.content .par {
    padding-top: 10px;
    padding-left: 20px;
    padding-bottom: 50px;
    font-family: Arial;
    letter-spacing: 1.2px;
    line-height: 30px;
    color: #fff;
    max-width: 700px;
}

.form {
    width: 650px;

    border-radius: 10px;
    padding: 8px;
    text-align: center;
    margin-top: 20px;
    /* Remove absolute positioning */
    position: relative;
}

.form h2 {
    color: #ff7200;
    font-size: 22px;
    margin-bottom: 15px;
}

.carousel {
    width: 100%;
    overflow: hidden;
}

.carousel-images img {
    width: 100%;
    display: none;
}

.carousel-images img:first-child {
    display: block;
}

.carousel-indicators {
    text-align: center;
    padding: 10px 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #ff7200;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: #fff;
}

/* Media Queries */
@media (min-width: 1024px) {
    .content-container {
        align-items: flex-start;
    }

    .content {
        margin-right: 400px; /* Give extra space for form in wide screens */
    }

    .form {
        position: absolute;
        top: 180px;
        left: 75%;
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .content-container {
        flex-direction: column;
        align-items: center;
    }

    .content .par {
        max-width: 400px;
        text-align: left;
    }

    .form {
        position: relative;
        width: 70%;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .main {
        background: linear-gradient(to top, rgba(59,23,0,0.5) 85%, rgba(38,9,2,0.5) 15%), url(img1.jpg);
        background-position: center;
        background-size: cover;
        min-height: 100vh;
    }

    .content h1 {
        font-size: 36px;
    }

    .content .par {
        max-width: 400px;
    }

    .form {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 24px;
    }

    .content .par {
        max-width: 250px;
        text-align: left;
    }

    .form {
        width: 80%;
    }

    .form h2 {
        font-size: 18px;
    }
}