*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --accent-color: #f97316;
    --text-color: #1e293b;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    /* advertise support for both color schemes so built-in UI adapts */
    color-scheme: light dark;
}

/* Accessibility and link improvements */
:where(a, button, input, textarea, select, summary, .btn, [role="button"]):focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    border-radius: 8px;
}

a:not(.btn) {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-decoration-color: color-mix(in oklab, var(--primary-color) 60%, transparent);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration-color: currentColor;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

body {
    padding: 0;
    margin: 0;
    padding-top: calc(1.5rem * 2 + 70px); /* Account for header height (padding + logo height) */
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    background-image: linear-gradient(to bottom, rgba(37, 99, 235, 0.03), transparent);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header_section {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
}

.hero_section {
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.7), rgba(124, 58, 237, 0.7), rgba(0, 0, 0, 0.6));
}

.hero_content {
    position: relative;
    color: white;
    text-align: center;
    padding: 0 2rem;
    max-width: 800px;
}

.hero_content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero_content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    transform: scale(1.1);
    opacity: 0.9;
}

.content_section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.content_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 200px),
        radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.03) 0%, transparent 200px);
    pointer-events: none;
}

.header_logo {
    font-size: 0;
}

.header_logo img {
    max-height: 70px;
    transition: var(--transition);
}

.mobile_menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: var(--dark-color);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), visibility 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1000;
    visibility: hidden;
    backdrop-filter: blur(8px);
    background-color: rgba(33, 37, 41, 0.95);
    overflow-y: auto; /* Allow vertical scrolling within the menu */
}

.menu-toggle:checked ~ .mobile_menu {
    transform: translateX(0);
    visibility: visible;
}

/* Prevent body scrolling when mobile menu is open - CSS only solution */

/* When menu is open, prevent scrolling on the body */
input.menu-toggle:checked ~ body,
.menu-toggle:checked {
    overflow: hidden;
}

/* Use the sibling selector to target the body */
html:has(.menu-toggle:checked) {
    overflow: hidden;
}

.mobile_menu_logo {
    margin-bottom: 2rem;
}

.mobile_menu_logo img {
    max-height: 80px;
    transition: var(--transition);
}

.mobile_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile_menu_list li {
    padding: 1rem;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.mobile_menu_list li a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.mobile_menu_list li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.mobile_menu_list li:hover,
.mobile_menu_list li a:hover {
    color: var(--primary-color);
}

.mobile_menu_list li:hover::after {
    width: 70%;
}

/* Close button styling */
.close-button {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button::before,
.close-button::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

.close-button::before {
    transform: rotate(45deg);
}

.close-button::after {
    transform: rotate(-45deg);
}

.close-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.close-button:hover::before,
.close-button:hover::after {
    background-color: var(--primary-color);
}

.header_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.header_menu_list li {
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0.3rem;
}

.header_menu_list li a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.header_menu_list li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    opacity: 0;
}

.header_menu_list li:hover,
.header_menu_list li a:hover {
    color: var(--primary-color);
}

.header_menu_list li:hover::after {
    width: 100%;
    opacity: 1;
}

.header_mobile_menu {
    display: none; /* Hidden by default */
    position: relative;
    z-index: 1001;
    margin-left: auto; /* Ensures right alignment */
}

/* Desktop-only styles - hide mobile menu and show desktop menu */
@media (min-width: 769px) and (min-height: 501px) {
    .header_mobile_menu {
        display: none;
    }
    
    .header_menu_list {
        display: flex;
    }
}

/* Hide the checkbox */
.menu-toggle {
    display: none;
}

/* Hamburger icon styling */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 45px;
    height: 40px;
    cursor: pointer;
    padding: 6px;
    border-radius: 5px;
    transition: var(--transition);
}

.hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 5px;
    background-color: var(--text-color);
    border-radius: 4px;
    margin: 0.5rem;
    transition: var(--transition);
}

/* Hamburger animation when menu is open */
.menu-toggle:checked + .hamburger .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--primary-color);
}

.menu-toggle:checked + .hamburger .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .hamburger .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--primary-color);
}

.footer_section {
    padding: 5rem 2rem 3rem;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer_content > div {
    text-align: left;
}

.footer_content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer_section h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer_section h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.footer_section p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer_section a {
    color: var(--light-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer_section a:hover {
    color: var(--accent-color);
}

.footer_bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Content styling */
.card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.1);
}

.card:hover::before {
    opacity: 1;
}

.card h2 {
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
    position: relative;
    font-weight: 700;
}

.card p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.9;
}

.content_section ul {
    padding-left: 0;
    list-style-type: none;
}

.content_section li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.content_section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Grid layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    width: 100%;
}

/* Accordion */
.accordion {
    margin-top: 2rem;
    width: 100%;
}

.accordion-item {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-toggle {
    display: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    user-select: none;
    background: white;
    transition: var(--transition);
    position: relative;
}

.accordion-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.accordion-header:hover {
    background: linear-gradient(to bottom, rgba(0, 123, 255, 0.03), transparent);
}

.accordion-header h2 {
    margin: 0;
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accordion-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-body {
    padding: 0 2.5rem 2rem 2.5rem;
}

.accordion-body p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.accordion-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-body ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.accordion-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.accordion-toggle:checked + .accordion-header + .accordion-content {
    max-height: 500px;
}

.accordion-toggle:checked + .accordion-header .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion-toggle:checked + .accordion-header {
    background: linear-gradient(to bottom, rgba(0, 123, 255, 0.05), transparent);
}

.accordion-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Default HTML Elements Styling */

/* Headings */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
}

thead {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Forms */
form {
    margin-bottom: 2rem;
    background-color: white;
    border-radius: var(--border-radius);
}

fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 1.8rem;
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.01);
}

legend {
    padding: 0.3rem 1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    box-shadow: var(--shadow);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

input, textarea, select {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="checkbox"], input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    box-shadow: none;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

/* Form sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

button, input[type="submit"], input[type="button"] {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Specific styling for cancel button */
input[type="button"][value="Cancel"] {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: lightgrey;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

button::before, input[type="submit"]::before, input[type="button"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

/* Specific styling for cancel button's before pseudo-element */
input[type="button"][value="Cancel"]::before {
    background: linear-gradient(to right, #6b7280, #4b5563);
}

button:hover::before, input[type="submit"]:hover::before, input[type="button"]:hover::before {
    transform: scale(1.1);
    opacity: 0.9;
}

/* Responsive design */
@media (max-width: 1300px) {
    .content_section {
        padding: 3rem 1.5rem;
    }

    .hero_content h1 {
        font-size: 2.5rem;
    }
}

/* Base styles for mobile and tablet devices */
@media (max-width: 768px), (orientation: landscape) and (max-height: 500px) {
    body {
        padding-top: calc(1rem * 2 + 60px); /* Adjusted for smaller header on tablets */
    }

    .header_section {
        padding: 1rem 1.5rem;
    }

    .header_logo img {
        max-height: 60px;
    }

    .header_menu_list {
        display: none;
    }

    .header_mobile_menu {
        display: block;
    }

    .hero_section {
        height: 450px;
    }

    .hero_content h1 {
        font-size: 2.2rem;
    }

    .hero_content p {
        font-size: 1.1rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 2rem;
    }

    .footer_content {
        flex-direction: column;
        text-align: left;
    }

    .footer_section h3::after {
        left: 0;
        transform: none;
    }

    .content_section {
        padding: 4rem 1.5rem;
    }

    /* Responsive tables */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Responsive form elements */
    form {
        padding: 1.5rem;
    }

    fieldset {
        padding: 1.2rem;
        margin-bottom: 1.5rem;
    }

    legend {
        padding: 0.2rem 0.8rem;
        font-size: 0.95rem;
    }

    input, textarea, select {
        padding: 0.8rem 1rem;
        margin-bottom: 1.2rem;
    }

    button, input[type="submit"], input[type="button"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: calc(1rem * 2 + 50px); /* Adjusted for smaller header on mobile */
    }

    .hero_section {
        height: 350px;
    }

    .header_logo img {
        max-height: 50px;
    }

    .hero_content h1 {
        font-size: 1.8rem;
        letter-spacing: -0.3px;
    }

    .hero_content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .content_section {
        padding: 3rem 0.5rem;
    }

    .card {
        padding: 1.2rem;
    }

    .card h2 {
        font-size: 1.5rem;
    }
    
    /* Accordion adjustments for mobile */
    .accordion-header {
        padding: 1.2rem 1.5rem;
    }
    
    .accordion-header h2 {
        font-size: 1.2rem;
    }
    
    .accordion-body {
        padding: 0 1.5rem 1.2rem 1.5rem;
    }
    
    .accordion-body p {
        font-size: 0.95rem;
    }
    
    .accordion-body ul li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
    
    .accordion-icon {
        width: 20px;
        height: 20px;
    }

    /* Smaller headings on mobile */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 1.1rem;
    }

    h6 {
        font-size: 1rem;
    }

    /* Smaller form elements on mobile */
    form {
        padding: 0.8rem;
        width: 100%;
        max-width: 100%;
        margin-left: -0.2rem;
        margin-right: -0.2rem;
    }

    fieldset {
        padding: 0.8rem;
        margin-bottom: 1.2rem;
    }

    legend {
        font-size: 0.85rem;
        padding: 0.2rem 0.7rem;
    }

    label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    input, textarea, select {
        padding: 0.7rem 0.9rem;
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    button, input[type="submit"], input[type="button"] {
        padding: 0.7rem 1.2rem;
        margin-bottom: 0.7rem;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile_menu {
        overflow-y: auto;
        padding: 60px 20px;
    }
    
    .mobile_menu_list {
        margin-top: 10px;
    }
    
    .mobile_menu_list li {
        padding: 0.6rem;
        font-size: 1.2rem;
    }
    
    .mobile_menu_logo {
        margin-bottom: 1rem;
    }
    
    .mobile_menu_logo img {
        max-height: 60px;
    }
}

