/* Registration Page Specific Styles */
.registration-section {
    padding: 60px 0;
    background-color: var(--light-bg);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    text-align: center; /* Keep this for the h2 and form-subtitle */
}

.registration-card h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.registration-card .form-subtitle {
    font-size: 1em;
    color: var(--grey-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left; /* Ensure labels and inputs align left */
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-register-form {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-register-form:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.required-star {
    color: red;
    font-weight: bold;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    transform: translateY(-50px);
    transition: transform 0.4s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.checkmark-icon {
    font-size: 4em;
    color: var(--accent-color); /* Pastikan --accent-color didefinisikan di style.css atau tambahkan di sini */
    margin-bottom: 20px;
    animation: bounceIn 0.8s ease-out;
}

.modal-content h3 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--dark-text);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* New Footer Styles */
:root {
    --primary-color: #007bff;
    --secondary-color: #0056b3;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #333;
    --grey-text: #6c757d;
    --accent-color: #28a745; /* Example accent color for checkmark icon */
}

.new-footer-style {
    background-color: #2c3e50; /* Dark blue-grey background */
    color: #ecf0f1; /* Light text color */
    padding: 60px 0 30px;
    font-size: 15px;
    line-height: 1.8;
}

.new-footer-style .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.new-footer-style .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.new-footer-style .footer-grid h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.new-footer-style .footer-grid h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color); /* Use primary color for accent */
}

.new-footer-style .footer-about p {
    margin-bottom: 20px;
}

.new-footer-style .social-icons a {
    color: #ecf0f1;
    font-size: 20px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.new-footer-style .social-icons a:hover {
    color: var(--primary-color);
}

.new-footer-style .footer-nav ul,
.new-footer-style .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-footer-style .footer-nav ul li,
.new-footer-style .footer-contact ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.new-footer-style .footer-nav ul li a,
.new-footer-style .footer-contact ul li {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.new-footer-style .footer-nav ul li a:hover,
.new-footer-style .footer-contact ul li:hover {
    color: var(--primary-color);
}

.new-footer-style .footer-nav ul li i,
.new-footer-style .footer-contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.new-footer-style .footer-map-section .map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 4:3 Aspect Ratio (change this if you want a different ratio) */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.new-footer-style .footer-map-section .map-wrapper .map-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.new-footer-style .footer-map-section .map-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.new-footer-style .footer-map-section address {
    font-style: normal;
    color: #bdc3c7;
}

.new-footer-style .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.new-footer-style .footer-bottom p {
    margin: 10px 0 0;
    color: #bdc3c7;
}

.new-footer-style .footer-links {
    margin-bottom: 10px;
}

.new-footer-style .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.new-footer-style .footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .new-footer-style .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .new-footer-style .footer-grid h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .new-footer-style .social-icons {
        margin-top: 15px;
    }

    .new-footer-style .footer-nav ul,
    .new-footer-style .footer-contact ul {
        text-align: left;
    }

    .new-footer-style .footer-map-section .map-wrapper {
        padding-bottom: 56.25%; /* 16:9 Aspect Ratio for smaller screens */
    }
}
