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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #8B4513;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #8B4513;
    padding: 20px 0;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    background-color: white;
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.brand-name {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-top: 10px;
}

/* Main Content */
.main-content {
    background-color: #8B4513;
    padding: 40px 20px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: rgba(139, 69, 19, 0.8);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Form Section */
.form-section {
    display: flex;
    justify-content: center;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.form-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.required {
    color: #666;
    font-weight: 400;
    font-size: 0.85rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #8B4513;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    min-width: 100px;
}

.phone-input-group input[type="tel"] {
    flex: 1;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #6d3510;
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.footer-links a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #6d3510;
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal.show {
    display: block;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.modal-content h2 {
    color: #4a5568;
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 10px;
    font-weight: 700;
}

.modal-body {
    color: #333;
    line-height: 1.8;
}

.modal-body h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
}

.modal-body p {
    margin-bottom: 15px;
}

.modal-body ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    font-weight: 600;
    color: #2d3748;
}

/* Success Modal */
.success-modal-content {
    text-align: center;
    max-width: 400px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #48bb78;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    font-weight: bold;
}

.success-modal-content h2 {
    color: #2d3748;
    margin-bottom: 10px;
}

.success-modal-content p {
    color: #555;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-name {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 25px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }

    .about-section {
        padding: 20px;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }
}

/* Scrollbar Styling for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}
