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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

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

/* Header Styling */
.site-header {
    background-color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    flex: 0 0 200px;
}

.logo {
    width: 100%;
    max-width: 200px;
    animation: fadeIn 1s ease-in;
}

.header-text {
    text-align: center;
    flex-grow: 1;
}

.header-text h2 {
    color: #f7941d;
    font-size: 2em;
    margin-bottom: 5px;
}

.header-text h3 {
    color: #000080;
    font-size: 1.4em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.helpline {
    color: #000;
    font-size: 1.2em;
}

.helpline span {
    color: #f7941d;
    font-weight: bold;
}

/* Navbar Styling */
.navbar {
    background: #0a3142;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-item:hover {
    background: #f7941d;
    color: #fff;
}

/* Ticker Bars */
.ticker {
    padding: 10px 0;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.green-ticker {
    background-color: #008000;
}

.blue-ticker {
    background-color: #000080;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.main-content {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.form-section {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.instructions-section {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #f7941d;
    padding-bottom: 10px;
    font-size: 1.8em;
}

h3 {
    color: #f7941d;
    margin-bottom: 15px;
    font-size: 1.4em;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

label span {
    color: #333333;
}

input, select, textarea {
    padding: 12px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    font-size: 1em;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: #f7941d;
    outline: none;
}

textarea {
    height: 120px;
    resize: vertical;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

button {
    padding: 15px 30px;
    background: #00665c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    text-transform: uppercase;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    width: auto;
    align-self: center;
}

button:hover {
    background: #f7941d;
    transform: translateY(-2px);
}

.instructions-section ol {
    list-style: decimal;
    padding-left: 20px;
}

.instructions-section ol li {
    margin-bottom: 15px;
    line-height: 1.5;
}

.instructions-section ol li span {
    color: #333;
    font-weight: normal;
}

/* SOP Section */
.sop-section {
    margin-top: 30px;
    background: #0a192f;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in;
}

.sop-section h2 {
    color: #fff;
    border-bottom: 2px solid #f7941d;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.sop-icons {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.sop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    width: 200px;
}

.sop-icon:hover {
    transform: translateY(-10px);
}

.sop-icon-circle {
    background: #ffa500;
    border: 4px solid #fff;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.5);
    margin-bottom: 15px;
}

.sop-icon-img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.sop-icon-text {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* SOP Content */
.sop-content {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #f7941d;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    text-align: left;
}

.sop-content h3 {
    color: #f7941d;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.sop-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.sop-content ol {
    padding-left: 20px;
    margin: 20px 0;
}

.sop-content ol li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #f7941d;
    color: #fff;
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-section h4 {
    font-size: 1.3em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
    font-size: 0.95em;
}

.footer-section a:hover {
    color: #000;
    padding-left: 5px;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-section img {
    width: 50px;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
    transition: transform 0.3s;
}

.footer-section img:hover {
    transform: scale(1.1);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.copyright p {
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }
    
    .form-section, .instructions-section {
        width: 100%;
    }
    
    .site-header {
        flex-direction: column;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .sop-icons {
        gap: 40px;
    }
}
/* Completing the media query for max-width: 768px */
@media (max-width: 768px) {
    .nav-item {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .nav-container {
        flex-direction: column;
        align-items: center;
    }

    .site-header {
        padding: 15px;
    }

    .logo-container {
        flex: 0 0 150px;
    }

    .logo {
        max-width: 150px;
    }

    .header-text h2 {
        font-size: 1.5em;
    }

    .header-text h3 {
        font-size: 1.2em;
    }

    .helpline {
        font-size: 1em;
    }

    .ticker {
        font-size: 0.9em;
        padding: 8px 0;
    }

    .container {
        padding: 0 15px;
        margin: 20px auto;
    }

    .form-section, .instructions-section {
        padding: 20px;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    input, select, textarea {
        padding: 10px;
        font-size: 0.9em;
    }

    button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .sop-section {
        padding: 20px;
    }

    .sop-icons {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .sop-icon {
        width: 150px;
    }

    .sop-icon-circle {
        width: 100px;
        height: 100px;
    }

    .sop-icon-img {
        width: 50px;
        height: 50px;
    }

    .sop-icon-text {
        font-size: 12px;
    }

    .sop-content {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
        min-width: 100%;
    }

    .footer-section img {
        width: 40px;
    }

    .copyright p {
        font-size: 0.8em;
        padding: 0 15px;
    }
}

/* Additional media query for smaller screens (max-width: 576px) */
@media (max-width: 576px) {
    .site-header {
        padding: 10px;
    }

    .logo-container {
        flex: 0 0 120px;
    }

    .logo {
        max-width: 120px;
    }

    .header-text h2 {
        font-size: 1.2em;
    }

    .header-text h3 {
        font-size: 1em;
    }

    .helpline {
        font-size: 0.9em;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 0.8em;
    }

    .ticker {
        font-size: 0.8em;
        padding: 6px 0;
    }

    .container {
        padding: 0 10px;
        margin: 15px auto;
    }

    .form-section, .instructions-section {
        padding: 15px;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1.1em;
    }

    input, select, textarea {
        padding: 8px;
        font-size: 0.85em;
    }

    button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .sop-section {
        padding: 15px;
    }

    .sop-icon {
        width: 120px;
    }

    .sop-icon-circle {
        width: 80px;
        height: 80px;
    }

    .sop-icon-img {
        width: 40px;
        height: 40px;
    }

    .sop-icon-text {
        font-size: 10px;
    }

    .sop-content {
        padding: 15px;
    }

    .sop-content p {
        font-size: 0.9em;
    }

    .sop-content ol li {
        font-size: 0.9em;
    }

    .footer-section h4 {
        font-size: 1.1em;
    }

    .footer-section a {
        font-size: 0.85em;
    }

    .payment-icons {
        justify-content: center;
    }

    .footer-section img {
        width: 35px;
    }

    .copyright p {
        font-size: 0.75em;
    }
}

/* Additional styles to ensure consistency */
.form-section label span {
    font-size: 0.9em;
}

.instructions-section ol li span {
    font-size: 0.9em;
}

.checkbox-container label {
    font-size: 0.9em;
    line-height: 1.4;
}

/* Ensure marquee text is readable */
.ticker marquee {
    white-space: nowrap;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Ensure form validation styles */
input:invalid, select:invalid, textarea:invalid {
    border-color: #ff4d4d;
}

input:valid, select:valid, textarea:valid {
    border-color: #28a745;
}

/* Accessibility improvements */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #f7941d;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}

/* Remove admin-specific styles */
/* Admin styles have been moved to admin.css */

/* Keep other styles */

/* Common styles used by multiple pages */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    text-align: center;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #333;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 5px rgba(74,144,226,0.3);
}

.error {
    color: #dc3545;
    background: #ffe6e6;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.submit-btn:hover {
    background: #357abd;
}