
body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Raleway', Arial, sans-serif;
    text-align: center;
}
.container {
    margin-top: 50px;
    margin-bottom: 100px;
    text-align: center;
    padding: 0px;
    width: 100%; /* Restrict the width of the content */
    margin: 0 auto; /* Center the container on the page */
    }
    .main {
        padding: 0px 0px;
        margin: 110px 0;
    }
    .main h1 {
        font-family: 'Raleway', Arial, sans-serif;
        font-size: 70px;
        font-weight: bold;
        padding: 0px 5px;
        margin-bottom: 10px; /* Reduce the bottom margin to decrease the gap */
    }
    .main h2 {
        font-family: 'Raleway', Arial, sans-serif;
        font-size: 40px;
        font-weight: bold;
        padding: 0px 5px;
        margin-bottom: 10px; /* Reduce the bottom margin to decrease the gap */
    }
    .main h3 {
        margin-top: 200px;
        position: absolute;
        width: 357px;
        height: 31px;
        left: calc(50% - 357px/2 - 0.5px);
        top: 1797px;
        font-family: 'Raleway';
        font-style: normal;
        font-weight: 700;
        font-size: 48px;
        line-height: 30px;
        /* or 62% */
        display: flex;
        flex-direction: column; /* Stack children vertically */
        align-items: center;
        letter-spacing: -0.03em;
        color: #000000;
    }

    .subtitle {
        font-family: 'Raleway', Arial, sans-serif;
        background-color: #357ded;
        color: white;
        display: inline-block;
        padding: 0px 50px;
        font-size: 48px;
        margin-top: 0px; /* Remove top margin to further decrease the gap */
        margin-bottom: 0px; /* Ensure no extra margin below the subtitle */
        flex-direction: column; /* Stack children vertically */
    }
    .logo {
    text-align: center; /* Center the logo */
    margin: 70px 0 0px; /* Add margin: top 40px, left/right 0, bottom 20px */
    }
    .logo img {
    width: 200px; /* Adjust the logo size */
    height: auto;
    }
    .logo-campus {
    text-align: center; /* Center the logo */
    margin: 70px 0 100px; /* Add margin: top 40px, left/right 0, bottom 20px */
    }
    .logo-campus img {
    width: 500px; /* Adjust the logo size */
    height: auto;
    }
    .banner {
        display: flex; /* Enable Flexbox */
        position: relative;
        margin: 0 0; /* No margin */
        padding: 0; /* No padding */
        width: 100%; /* Full width of the page */
        height: auto; /* Allow height to adjust based on content */
        max-width: 100vw; /* Ensure it does not exceed the viewport width */
    }
    
    .banner img {
        width: 100%; /* Make the image responsive to the container */
        height: auto; /* Maintain aspect ratio */
        margin: 0 0;
        position: relative;
    }
    .materi { /* Updated from .content-wrapper */
        text-align: center; /* Center the text in the content wrapper */
        margin: 30px 0 0; /* Add space below the content wrapper */
    }
    .materi h1 {
        font-family: 'Raleway', Arial, sans-serif;
        font-size: 3em;
        margin-top: 0px;
        margin-bottom: 20px;
        color: #000000; /* Gold color for heading */
        justify-content: center; /* Center horizontally */
    }

    .media-container {
        margin: 100px 0 100px 0;
        text-align: center;
        justify-content: center;
        padding: 20px;
      }
    .media-container h1{
        font-size: 3rem;
        font-weight: 600;
    }
      .images-section {
        display: flex;
        gap: 70px;
        margin: 100px 10px 0px 275px;
      }
      
      .image-box {
        text-align: center;
        justify-items: center;
        width: 400px;
      }
      .image-box2 {
        text-align: center;
        justify-items: center;
        width: 600px;
      }
      .image-box3 {
        position: absolute;
        width: 400px;
        height: auto;
        left: 67%;
        z-index: 1;

      }
      .image-box img {
        width: 100%;
      }
      .image-box2 img {
        width: 100%;
      }
      .image-box3 img {
        width: 100%;
      }

.instructor {
    justify-content: center;
    display: flex; /* Enable Flexbox */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally */
    margin: 0; /* Optional: Add some margin around the instructor section */
    padding: 0; /* Add padding inside the section */
    color: white; /* Optional: Change text color for better contrast */
}

.instructor-content { /* Updated from .content-wrapper */
    text-align: center; /* Center the text in the content wrapper */
    margin-bottom: 0px; /* Add space below the content wrapper */
}

.instructor .image-wrapper {
    margin: 0; /* Add spacing between images */
    width: 100%; /* Make the wrapper take full width */
    display: flex; /* Enable Flexbox for individual image centering */
    justify-content: center; /* Center the image within the wrapper */
}

.instructor .future-image {
    width: 800px; /* Set a specific width for the instructor image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
    justify-content: center; /* Center the image within the wrapper */
}

.instructor h2 {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 3em;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #000000; /* Gold color for heading */
    justify-content: center; /* Center horizontally */
}
.registration {
    width: auto;
    height: 1400px;
    background-image: url('../Assets/img/bg.png'); /* Ensure the path is correct */
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background image */
    margin: 0 auto;
    display: flex; /* Enable Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
}

form {
    display: flex;
    margin: 50px auto;
    flex-direction: column;
    max-width: 700px;
    max-height: 1500px;
    padding: 50px;
    background-color: rgb(255, 255, 255);
    justify-content: center;
    justify-items: center;
    border-radius: 30px;
    /*box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);*/
    gap: 10px;
}
label {
    color: black;
    text-align: left;           /* Aligns the text to the left */
    width: 100%;                /* Ensures the label takes up the full width of the container */
    font-weight: bold;          /* Makes the label text bold */
    margin-bottom: 5px;         /* Adds some space below the label */
    display: block;             /* Makes the label behave like a block-level element */
    /* white-space: normal;        /* Allows the label text to wrap if it's too long */
    overflow: visible;          /* Ensures no text is hidden */
    text-overflow: clip;        /* Prevents ellipsis or other truncation behavior */
}


        input[type="text"], input[type="email"], select {
            width: 90%;
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

        input[type="text"]:focus, input[type="email"]:focus, select:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }

        .form-group {
            margin-bottom: 15px;
        }

.submit { 
    display: flex; 
    justify-content: center; /* Centers the button content */
    width: 100%; /* Make the button take up the full width of its container */
    max-width: 300px; /* Set a max width to avoid being too wide on larger screens */
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    margin: 20px auto; /* Center the button horizontally */
}
#scroll-button {
    width: 200px;            /* Set custom width */
    height: 50px;
    padding: 5px;            /* Adjust padding for smaller size */
    font-size: 20px;         /* Font size for the button text */
    border-radius: 5px;      /* Optional: Round the corners */
    background-color: #007bff; /* Button color */
    color: white;            /* Text color */
    border: none;            /* Remove default border */
    cursor: pointer;         /* Add a pointer cursor on hover */
    text-align: center;      /* Ensure text is centered inside the button */
    margin-bottom: 100px;
    margin-top: 70px;
}

#scroll-button:hover {
    background-color: #0056b3; /* Darken button on hover */
}

        input, select {
            width: 50%;
            padding: 15px;
            margin-bottom: 15px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
        }

        button {
            font-size: 1.3rem;
            width: 100%;            /* Set custom width */
            height: 60px;
            display: block;
            margin: 0 auto; /* Centers the button horizontally */
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            cursor: pointer;
            border-radius: 20px;
        }

        button:hover {
            background-color: #218838;
        }
    .payment-instructions {
            font-family: 'Poppins', sans-serif;
            background-color: rgb(255, 255, 255);
            padding: 20px;
            max-width: 750px; /* Set a maximum width for readability */
            margin: 0 auto; /* Center the section on the page */
            text-align:center;
        }
        
        .payment-instructions h2 {
            text-align: center; /* Center the heading */
            font-size: 1.5em;
            margin-bottom: 20px;
        }
        
        .payment-instructions p {
            font-size: 1em;
            line-height: 1.6; /* Better readability */
            margin: 15px 0;
            text-align: center;
        }
        
        .payment-instructions img {
            vertical-align: middle; /* Align image with text */
            margin-right: 10px; /* Space between image and text */
        }
        
        .payment-instructions strong {
            font-weight: bold;
        }
        
        .payment-instructions .account-number {
            color: #007bff; /* Use a color to emphasize account numbers */
            font-weight: bold;
        }
        
        .payment-instructions .company-name {
            font-size: 1.1em;
            color: #333;
        }

        .footer {
            margin-top: 0;
            text-align: left;
            background-color: #0a0a0a;
            color: #ffffff;
            padding: 40px;
          }
          
          .footer-container {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            flex-wrap: wrap;
          }
          
          .footer-section {
            width: 30%;
            gap: 20px;
          }
          .footer-section p {
            margin: 0; /* Removes default margin for paragraphs */
            font-weight: 50;
          }
        
          .footer-logo {
            width: 150px;
            margin-bottom: 15px;
          }
        
          .footer-logo2 {
            width: 70px;
            margin: 0 0 15px 20px;
          }
        
          .footer-section h2{
            margin-top: 0;
            padding-bottom: 20px;
            font-size: 16px;
            font-weight: 50;
          }
          .footer-section h3 {
            color: #729CAD;
            margin-top: 10px;
            font-size: 16px;
            font-weight: 300;
          }
          
          .footer-section ul {
            list-style: none;
            padding: 0;
          }
          
          .footer-section ul li {
            margin: 5px 0;
          }
          
          .footer-section ul li a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 50;
          }
          
          .footer-section ul li a:hover {
            text-decoration: underline;
          }
          
          .footer-social {
            margin-top: 20px;
          }
          
          .footer-social a img {
            width: 30px;
            margin: 0 10px;
          }
        
          .footer .copyright {
            text-align: center;
            padding-top: 50px;
            padding-bottom: 0;
            color: #ffffff;
          }
        
          .disabled-link {
            pointer-events: none;
            color: #ffffff; /* Optional: keep the text color consistent */
            text-decoration: none;
          }
    
/* Responsive styles for devices with a width of 768px or smaller */
@media only screen and (max-width: 768px) {
    /* General Body Adjustment */
    body {
        font-size: 14px; /* Adjust base font size */
        text-align: center; /* Center content */
        margin: 0;
    }
    .main {
        padding: 0px 0px;
        margin: 10px 0;
    }
    /* Headings and Subheadings */
    .main h1 {
        font-size: 50px; /* Reduce heading size */
        margin-bottom: 20px; /* Adjust spacing below */
    }

    .main h2 {
        font-size: 30px; /* Adjust subheading size */
        margin-bottom: 5px;
    }

    .main h3 {
        font-size: 24px; /* Scale down smaller headings */
        margin-top: 50px; /* Adjust spacing above */
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 20px; /* Scale down subtitles */
        padding: 10px 20px; /* Adjust padding */
    }

    /* Paragraphs and General Text */
    p {
        font-size: 16px; /* Adjust paragraph text size */
        line-height: 1.5; /* Ensure readability */
    }

    .logo {
        text-align: center; /* Center the logo */
        margin: 50px 0 30px; /* Add margin: top 40px, left/right 0, bottom 20px */
        }
        .logo img {
        width: 150px; /* Adjust the logo size */
        height: auto;
        }
    .banner {
        flex-direction: column; /* Stack items vertically on mobile */
        align-items: center; /* Center items horizontally */
            }
    /* Banner Images */
    .banner img {
        width: 50%; /* Scale banners to full width */
        height: auto;
        max-width: 100%; /* Prevent overflow */
    }
    .materi {
        text-align: center; /* Ensure text is centered */
        margin-bottom: 20px; /* Add more spacing below for readability */
    }

    .materi h1 {
        font-size: 2em; /* Reduce font size for smaller screens */
        margin-top: 10px; /* Adjust top margin */
        margin-bottom: 15px; /* Adjust bottom margin */
        color: #000000; /* Retain the same color */
        text-align: center; /* Ensure text is centered */
    }
    .materi-container {
        position: relative;
        width: 90%; /* Full width of the parent */
        margin: 0px; /* Remove top margin to eliminate gaps */
        padding: 20px; /* Padding inside the container */
        background: url("../Assets/tnah.png") no-repeat center center fixed; /* Background image */
        background-size: contain; /* Ensure the background covers the container */
        border-radius: 0px; /* Optional: Rounded corners */
        box-shadow: 0 4px 0px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
        min-height: 300px; /* Ensure the container has a minimum height */
        text-align: center; /* Center-align content */
        overflow: hidden; /* Prevent hover images from spilling out */
        
        /* Flexbox properties for centering */
        display: flex; /* Enable Flexbox */
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Center items horizontally */
    }
    
    .image-wrapper {
        position: relative;
        margin-bottom: 20px; /* Add vertical spacing */
        width: 80%;
        margin-left: auto; /* Center horizontally */
        margin-right: auto;
    }
    .side-image {
        position: absolute; /* Position the side image absolutely */
        left: 70%; /* Place it on the right side */
        top: 30%; /* Vertically center it */
        transform: translateY(-50%); /* Adjust for vertical centering */
        width: 40%; /* Adjust width as necessary */
    }
    
    .side-image-content {
        width: 100%; /* Full width of the side image container */
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px;
        cursor: pointer; /* Indicate clickability */
        display: block; /* Ensure the side image is a block element */
        box-shadow: none;
    }
    .container-image {
        width: 100%; /* Full width of the wrapper */
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px;
        cursor: pointer; /* Indicate clickability */
        display: block; /* Ensure the base image is a block element */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    }
    
    .hover-image {
        position: absolute; /* Position hover image directly over base image */
        top: 0;
        left: 0;
        width: 100%; /* Match the width of the base image */
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px; /* Match base image corners */
        display: none; /* Hide hover image initially */
        z-index: 10; /* Ensure it appears above the base image */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add subtle shadow */
    }
        
        .image-wrapper:hover .hover-image {
            display: block; /* Show hover image on hover */
            position: relative; /* Make sure it pushes the layout */
        }
        
        .image-wrapper:hover .container-image {
            display: none; /* Hide the base image when hover image is visible */
        }
    
    .button-wrapper {
        text-align: center; /* Center the button horizontally */
        margin-top: 50px 0 0; /* Add some space above the button */
    }
    
    .instructor-content { /* Updated from .content-wrapper */
        text-align: center; /* Center the text in the content wrapper */
        margin-bottom: 0px; /* Add space below the content wrapper */
    }
    .instructor .image-wrapper {
        margin: 0; /* Add spacing between images */
        width: 100%; /* Make the wrapper take full width */
        display: flex; /* Enable Flexbox for individual image centering */
        justify-content: center; /* Center the image within the wrapper */
    }
    
    .instructor .future-image {
        width: 300px; /* Set a specific width for the instructor image */
        height: auto; /* Maintain aspect ratio */
        border-radius: 10px; /* Optional: Rounded corners */
        justify-content: center; /* Center the image within the wrapper */
    }
    .instructor h2 {
        font-family: 'Raleway', Arial, sans-serif;
        font-size: 2em;
        margin-top: 0px;
        margin-bottom: 20px;
        color: #000000; /* Gold color for heading */
        justify-content: center; /* Center horizontally */
    }
    .registration {
        display: flex; /* Enable Flexbox */
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Center items horizontally */
        margin: 0; /* Optional: Add some margin around the instructor section */
        background-image: url('../Assets/bg.png'); /* Add your background image */
        background-size: cover; /* Cover the entire section */
        background-position: center; /* Center the background image */
        padding: 20px; /* Add padding inside the section */
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        color: rgb(0, 0, 0); /* Optional: Change text color for better contrast */
    }
    .registration .image-wrapper {
        margin: 0; /* Add spacing between images */
        width: 100%; /* Make the wrapper take full width */
        display: flex; /* Enable Flexbox for individual image centering */
        justify-content: center; /* Center the image within the wrapper */
    }
    .registration .star-image {
        width: 300px; /* Set a specific width for the instructor image */
        height: auto; /* Maintain aspect ratio */
        margin-top: 0;
        border-radius: 10px; /* Optional: Rounded corners */
        justify-content: center; /* Center the image within the wrapper */
    }
    .container {
        width: 90%; /* Make the container take up more width */
        margin: 0 auto; /* Center the container */
    }

    .main {
        padding: 0px 10px; /* Add padding for better spacing */
        margin: 20px 0; /* Reduce margin for mobile */
    }

    /* Headings and Subheadings */
    .main h1 {
        font-size: 30px; /* Reduce heading size */
        margin-bottom: 15px; /* Adjust spacing below */
    }

    .main h2 {
        font-size: 24px; /* Adjust subheading size */
        margin-bottom: 10px; /* Adjust spacing below */
    }

    .main h3 {
        font-size: 20px; /* Scale down smaller headings */
        margin-top: 30px; /* Adjust spacing above */
        margin-bottom: 10px; /* Adjust spacing below */
    }

    .subtitle {
        font-size: 18px; /* Scale down subtitles */
        padding: 10px; /* Adjust padding */
    }

    /* Logo Adjustments */
    .logo img {
        width: 150px; /* Adjust the logo size */
    }
/* Media Container Adjustments */
.media-container {
    width: 100%;
    height: 50%;
    margin: 0;
    padding: 0;
    text-align: center; /* Center text in the media container */
    justify-content: center;
}

.media-container h1 {
    width: 100%;
    font-size: 2rem; /* Adjust heading size for mobile */
    font-weight: 600; /* Retain font weight */
    margin-bottom: 15px; /* Add space below the heading */
}

.images-section {
    display: flex; /* Keep flex display */
    flex-direction: column; /* Stack images vertically */
    gap: 20px; /* Adjust gap between images */
    margin: 0 auto; /* Center the images section */
}

.image-box, .image-box2 {
    width: 90%; /* Make image boxes responsive */
    margin: 0 auto; /* Center the image boxes */
}
.image-box3 {
    position: absolute;
    left: 0%;
    top: 80%;
    width: 100%;
    height: auto;
    z-index: 1;
}
.image-box img {
    position: relative;
    text-align: center;
    width: 70%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}
.image-box2 img {
    position: relative;
    right: 10%;
    width: 70%; /* Ensure images are responsive */
    height: auto; /* Maintain aspect ratio */
}
.image-box3 img {
    position: relative;
    top: 30%;
    left: 40%;
    width: 40%;
    height: auto;
}

    /* Banner Images */
    .banner img {
        width: 100%; /* Scale banners to full width */
        height: auto; /* Maintain aspect ratio */
    }

    /* Materi Section */
    .materi h1 {
        font-size: 2em; /* Reduce font size for smaller screens */
        margin-top: 10px; /* Adjust top margin */
        margin-bottom: 15px; /* Adjust bottom margin */
    }

    /* Image Boxes */
    .image-box, .image-box2, .image-box3 {
        width: 90%; /* Make image boxes responsive */
        margin: 0 auto; /* Center the image boxes */
    }

    /* Instructor Section */
    .instructor h2 {
        font-size: 2em; /* Adjust font size */
        margin-bottom: 15px; /* Adjust spacing */
    }

    /* Registration Form */
    form {
        max-width: 90%; /* Make form responsive */
        padding: 20px; /* Adjust padding */
    }

    input, select {
        width: 100%; /* Full width for inputs */
        padding: 10px; /* Adjust padding */
    }

    .submit {
        max-width: 100%; /* Full width for submit button */
    }

    /* Footer Adjustments */
    .footer-section {
        width: 100%; /* Full width for footer sections */
        margin-bottom: 20px; /* Add spacing between sections */
    }

    .footer-section h2 {
        font-size: 14px; /* Adjust heading size */
    }

    .footer-section h3 {
        font-size: 12px; /* Adjust subheading size */
    }

    .footer-section ul li {
        font-size: 12px; /* Adjust list item size */
    }

    .footer .copyright {
        font-size: 12px; /* Adjust copyright text size */
    }

}
   