.modal-content {
    max-height: auto;
    overflow-y: auto;
}

        * {
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }
        body {
            margin: 0;
            padding: 0;
            background-color: #f9f9f9;
            color: #333;
        }
        .careers-container {
            max-width: 800px;
            margin: 50px auto;
            padding: 20px;
        }
        h1 {
            text-align: center;
            color: #222;
            margin-bottom: 40px;
        }
        .accordion {
            width: 100%;
            margin-bottom: 20px;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .accordion-item {
            border-bottom: 1px solid #ddd;
        }
        .accordion-header {
            background-color: #fff;
            padding: 15px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .accordion-header:hover {
            background-color: #f5f5f5;
        }
        .accordion-header::after {
            content: '+';
            font-size: 20px;
        }
        .accordion-header.active::after {
            content: '-';
        }
        .accordion-content {
            background-color: #fff;
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease;
        }
        .accordion-content.show {
            padding: 20px;
            max-height: 500px;
        }
        .job-details {
            margin-bottom: 20px;
        }
        .job-details h3 {
            margin-top: 0;
            color: #444;
        }
        .apply-btn {
            background-color: #f45b1e;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s;
        }
        .apply-btn:hover {
            background-color: #e04a0c;
        }

        /* Popup Modal Styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 100;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .modal-content {
            background-color: #fff;
            margin: 10% auto;
            padding: 30px;
            border-radius: 5px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
            animation: modalopen 0.5s;
        }
        @keyframes modalopen {
            from {opacity: 0; transform: translateY(-50px);}
            to {opacity: 1; transform: translateY(0);}
        }
        .close-btn {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }
        .close-btn:hover {
            color: #333;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        .form-group input, 
        .form-group select, 
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .form-group textarea {
            height: 100px;
            resize: vertical;
        }
        .submit-btn {
            background-color: #f45b1e;
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            width: 100%;
            transition: background-color 0.3s;
        }
        .submit-btn:hover {
            background-color: #e04a0c;
        }
        .success-message {
            display: none;
            text-align: center;
            padding: 20px;
        }
        .success-message h2 {
            color: #4CAF50;
        }
        .success-icon {
            font-size: 50px;
            color: #4CAF50;
            margin-bottom: 20px;
        }

/* FONT OVERRIDE: Outfit for body (copy), Roboto for headings */
html, body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.heading, .site-title, .page-title, .section-title,
[class*="title"], [class*="heading"] {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif !important;
}
p, li, ul, ol, dl, blockquote, figcaption, small,
.card-text, .lead, .meta, .desc, .copy, .content, .text,
input, textarea, select, button, label, a:not([class*="title"]):not([class*="heading"]) {
  font-family: inherit !important;
}
body { font-weight: 400; }
strong, b { font-weight: 600; }
