* {
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size */
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/*change1 23-06-2025*/
.mobile-search-btn {
    width: 100%;               
    max-width: 360px;          
    padding: 8px 16px;
    margin: 4px auto;          
    box-sizing: border-box;    
    background-color: #fdb813;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
}


/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #4D2700;
    background-color: #003471;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #f4f4f4;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000000b8;
    z-index: 1000;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    background-color: #f8f5ee;
    border-radius: 8px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-nav-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(34, 34, 34, 0.35);
    color: #4D2700;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.mobile-nav-item:hover {
    color: #005d61;
    text-decoration: underline;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

/* 4K and Ultra-wide Displays (2560px and up) */
@media (min-width: 2560px) {
    html {
        font-size: 20px; /* Larger base font for 4K */
    }
    
    #wrapper {
        width: 2200px;
        max-width: 85%;
        margin: 0 auto;
    }
    
    #wrapper #canvas {
        width: 100%;
        background-color: #ffffff;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        min-height: 120px;
        padding: 20px 0;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 30px;
    }
    
    #wrapper #canvas #header #logo img {
        width: 250px;
        height: auto;
    }
    
    #wrapper #canvas #header #facName {
        font-size: 28px;
        padding-top: 25px;
        line-height: 1.3;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 68%;
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    #wrapper #canvas #center #rightBar {
        width: 30%;
        padding-left: 40px;
    }
    
    #wrapper #canvas #footer {
        width: 100% !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px 40px;
        background-color: #f8f5ee;
        border-top: 3px solid #f4f4f4;
        font-size: 1.2rem;
        min-height: 120px;
    }
    
    #wrapper #canvas #footer #contactInfo {
        flex: 0 0 35%;
        text-align: left;
        padding: 0 20px;
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    #wrapper #canvas #footer #links {
        flex: 0 0 40%;
        text-align: center;
        padding: 0 20px;
    }
    
    #wrapper #canvas #footer #links a {
        display: inline-block;
        margin: 0 15px 8px;
        color: #003471;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.1rem;
        padding: 5px 10px;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    #wrapper #canvas #footer #links a:hover {
        background-color: #003471;
        color: white;
        text-decoration: none;
    }
    
    #wrapper #canvas #footer #social {
        flex: 0 0 25%;
        text-align: right;
        padding: 0 20px;
    }
    
    #wrapper #canvas #footer #social img {
        margin: 0 12px;
        max-width: 40px;
        height: auto;
        transition: transform 0.3s ease;
    }
    
    #wrapper #canvas #footer #social img:hover {
        transform: scale(1.1);
    }
    
    /* 4K footer responsive text */
    #wrapper #canvas #footer #contactInfo h4 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        color: #ffffff;
    }
    
    #wrapper #canvas #footer #contactInfo p {
        margin-bottom: 8px;
        color: #ffffff;
    }
    
    /* Intelliresponse 4K adjustments */
    #intelliresponse {
        width: 100% !important;
        padding: 30px;
    }
    
    #intelliInner {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    #intelliForm input[type="text"] {
        font-size: 18px;
        padding: 15px;
        min-height: 50px;
    }
    
    #intelliForm input[type="submit"] {
        font-size: 16px;
        padding: 15px 30px;
        min-height: 50px;
    }
}

/* Large Desktop (1920px to 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    html {
        font-size: 18px;
    }
    
    #wrapper {
        width: 1600px;
        max-width: 90%;
        margin: 0 auto;
    }
    
    #wrapper #canvas {
        width: 100%;
        background-color: #ffffff;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        min-height: 100px;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 25px;
    }
    
    #wrapper #canvas #header #logo img {
        width: 200px;
        height: auto;
    }
    
    #wrapper #canvas #header #facName {
        font-size: 24px;
        padding-top: 20px;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 65%;
        font-size: 1.05rem;
    }
    
    #wrapper #canvas #center #rightBar {
        width: 32%;
        padding-left: 30px;
    }
}

/* Standard Large Desktop (1200px to 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    html {
        font-size: 16px;
    }
    
    #wrapper {
        width: min(1140px, 95%);
        max-width: 100%;
        margin: 0 auto;
    }
    
    #wrapper #canvas {
        width: 100%;
        background-color: #ffffff;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        min-height: 91px;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 65%;
    }
    
    #wrapper #canvas #center #rightBar {
        width: 33%;
        padding-left: 20px;
    }
}

/* Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    html {
        font-size: 15px;
    }
    
    #wrapper {
        width: 95%;
        max-width: 1000px;
        margin: 0 auto;
    }
    
    #wrapper #canvas {
        width: 100%;
        background-color: #FFFFFF;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        min-height: 85px;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 20px;
    }
    
    #wrapper #canvas #header #logo img {
        width: 160px;
        height: auto;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 65%;
    }
    
    #wrapper #canvas #center #rightBar {
        width: 33%;
        padding-left: 15px;
    }
}

/* Tablet (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
        background-color: #003471 !important;
    }
    
    button:hover {
        background-color: #003471 !important;
    }
    
    .mobile-search-btn {
        background-color: #003471;
    }
    
    #wrapper {
        width: 95%;
        margin: 0 auto;
    }
    
    #wrapper #canvas {
        width: 100%;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        height: auto;
        min-height: 91px;
        padding: 10px 0;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 15px;
    }
    
    #wrapper #canvas #header #logo img {
        width: 160px;
        height: auto;
    }
    
    #wrapper #canvas #header #facName {
        width: calc(100% - 220px);
        font-size: 18px;
        padding-top: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    #wrapper #canvas #header #topNav {
        display: none;
    }
    
    #wrapper #canvas #center {
        flex-direction: column;
        display: flex;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 100%;
        order: 1;
    }
    
    #wrapper #canvas #center #rightBar {
        width: 100%;
        order: 2;
        padding: 0 15px;
        margin-top: 20px;
    }
    
    #wrapper #canvas #center #rightBar .taskGroup {
        width: 100%;
        margin-bottom: 15px;
    }
    
    #wrapper #canvas #footer {
        width: 100% !important;
        flex-direction: column;
        display: flex;
        padding: 15px 0;
    }
    
    #wrapper #canvas #footer #contactInfo,
    #wrapper #canvas #footer #links,
    #wrapper #canvas #footer #social {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    /* Intelliresponse tablet adjustments */
    
    #intelliInner {
        flex-direction: column;
        display: flex;
        width: 100% !important;
        background-color: #FFFFFF;
    }
    
    #intelliLogo {
        width: 100% !important;
        text-align: center;
        margin-bottom: 10px;
    }
    
    #intelliForm {
        width: 100% !important;
        padding: 10px;
    }
    
    #intelliForm input[type="text"] {
        width: 70%;
        font-size: 14px;
        padding: 10px;
    }
    
    #intelliForm input[type="submit"] {
        width: auto;
        margin: 5px;
        background-color: #FBB315;
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .mobile-search-btn {
        background-color: #FBB315;
        color: #3E1707;
        border: none !important;
        border-radius: 4px;
        margin-top: 5px;
        height: 35px;
        width: 100%;
        max-width: 360px;
        font-family: "Roboto",'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', Helvetica, Arial, sans-serif !important;
        font-weight: 700;
    }
}

/* Mobile (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: block;
        background-color: #003471 !important;
    }
    
    button:hover {
        background-color: #003471 !important;
    }
    
    .mobile-search-btn {
        background-color: #FBB315;
        color: #3E1707;
        border: none !important;
        border-radius: 4px;
        margin-top: 5px;
        height: 32px;
        width: 100%;
        max-width: 360px;
        font-family: "Roboto",'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', Helvetica, Arial, sans-serif !important;
        font-weight: 700;
        font-size: 13px;
    }
    
    body {
        font-size: 1em;
    }
    
    #wrapper {
        width: 100%;
        margin: 0;
    }
    
    #wrapper #canvas {
        width: 100%;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        height: auto;
        min-height: 70px;
        padding: 10px 0;
        position: relative;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 15px;
        float: left;
    }
    
    #wrapper #canvas #header #logo img {
        width: 120px;
        height: auto;
    }
    
    #wrapper #canvas #header #facName {
        width: calc(100% - 180px);
        font-size: 14px;
        padding-top: 10px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    #wrapper #canvas #header #topNav {
        display: none;
    }
    
    #wrapper #canvas #center {
        width: 100%;
        padding-top: 5px;
        flex-direction: column;
        display: flex;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 100%;
        order: 1;
    }
    
    #wrapper #canvas #center #centerContent #centerInfo {
        padding: 15px 10px;
        font-size: 14px;
        line-height: 1.4;
    }
    
    #wrapper #canvas #center #rightBar {
        display: none;
    }
    
    #wrapper #canvas #footer {
        width: 100%;
        margin-top: 20px;
        padding: 15px 0;
        text-align: center;
    }
    
    #wrapper #canvas #footer #contactInfo {
        width: 100%;
        padding: 10px;
        text-align: center;
        font-size: 12px;
    }
    
    #wrapper #canvas #footer #links {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
    
    #wrapper #canvas #footer #social {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    #wrapper #canvas #footer #social img {
        float: none;
        margin: 0 5px;
    }
    
    /* Intelliresponse mobile adjustments */
    #intelliresponse {
        width: 100% !important;
        background-color: #FFFFFF;
        padding: 0px 15px;
    }
    
    #intelliInner {
        width: 100% !important;
        flex-direction: column;
        display: flex;
        padding: 0px 10px;
        background-color: #ffffff;
    }
    
    #intelliLogo {
        width: 100% !important;
        text-align: center;
        margin-bottom: 15px;
    }
    
    #intelliLogo img {
        max-width: 160px;
        height: auto;
    }
    
    #intelliForm {
        width: 100% !important;
        padding: 0;
    }
    
    #intelliForm form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    #intelliForm input[type="text"] {
        width: 100%;
        padding: 10px;
        font-size: 14px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    #intelliForm input[type="submit"] {
        width: 100%;
        padding: 12px;
        font-size: 13px;
        margin: 5px 0;
        border: none;
        border-radius: 4px;
        background-color: #003471;
        color: white;
        cursor: pointer;
    }
    
    #intelliForm input[type="submit"]:hover {
        background-color: #004a4d;
    }

    #wrapper #canvas #footer {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 20px 15px !important;
        gap: 15px !important;
        min-height: auto !important;
        margin-top: 20px !important;
    }
    
    #wrapper #canvas #footer #contactInfo {
        width: 100% !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        padding: 8px 0 !important;
        order: 1 !important;
        flex: none !important;
    }
    
    #wrapper #canvas #footer #links {
        width: 100% !important;
        text-align: center !important;
        padding: 8px 0 !important;
        order: 2 !important;
        flex: none !important;
    }
    
    #wrapper #canvas #footer #links a {
        display: inline-block !important;
        margin: 4px 6px !important;
        font-size: 0.8rem !important;
        padding: 4px 6px !important;
    }
    
    #wrapper #canvas #footer #social {
        width: 100% !important;
        text-align: center !important;
        padding: 8px 0 !important;
        order: 3 !important;
        flex: none !important;
    }
    
    #wrapper #canvas #footer #social img {
        max-width: 26px !important;
        margin: 0 6px !important;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    html {
        font-size: 13px;
		background-color: #ffffff;
    }
    
    .mobile-menu-toggle {
        display: block;
        background-color: #003471 !important;
        padding: 8px;
        right: 10px;
        top: 10px;
    }
    
    .mobile-search-btn {
        background-color: #FBB315;
        color: #3E1707;
        border: none !important;
        border-radius: 4px;
        margin-top: 5px;
        height: 30px;
        width: 100%;
        max-width: 100%;
        font-family: "Roboto",'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', Helvetica, Arial, sans-serif !important;
        font-weight: 700;
        font-size: 12px;
    }
    
    #wrapper {
        width: 100%;
        margin: 0;
    }
    
    #wrapper #canvas {
        width: 100%;
    }
    
    #wrapper #canvas #header {
        width: 100%;
        height: auto;
        min-height: 65px;
        position: relative;
		background: #fff !important;
    }
    
    #wrapper #canvas #header #logo {
        width: 50%;
        padding-left: 10px;
    }
    
    #wrapper #canvas #header #logo img {
        width: 95px;
        height: auto;
    }
    
    #wrapper #canvas #header #facName {
        font-size: 12px;
        width: calc(100% - 150px);
        padding: 5px 79px 11px 0px;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    #wrapper #canvas #header #topNav {
        display: none;
    }
    
    #wrapper #canvas #center {
        width: 100%;
        flex-direction: column;
        display: flex;
    }
    
    #wrapper #canvas #center #centerContent {
        width: 100%;
        order: 1;
    }
    
    #wrapper #canvas #center #centerContent #centerInfo {
        padding: 8px;
        font-size: 13px;
        line-height: 1.3;
    }
    
    #wrapper #canvas #center #rightBar {
        display: none;
    }
    
    #wrapper #canvas #footer {
        width: 100% !important;
        margin-top: 15px;
        padding: 12px 0;
        text-align: center;
    }
    
    #wrapper #canvas #footer #contactInfo {
        width: 100%;
        padding: 8px;
        text-align: center;
        font-size: 12px;
    }
    
    #wrapper #canvas #footer #links {
        width: 100%;
        padding: 8px;
        text-align: center;
        font-size: 12px;
    }
    
    #wrapper #canvas #footer #social {
        width: 100%;
        text-align: center;
        padding: 8px;
    }
    
    #wrapper #canvas #footer #social img {
        float: none;
        margin: 0 3px;
        max-width: 24px;
    }
    
    /* Intelliresponse small mobile adjustments */
    #intelliresponse {
        width: 100% !important;
        background-color: #FFF !important;
		overflow:hidden;
        padding: 8px;
    }
    
    #intelliInner {
        width: 100% !important;
        flex-direction: column;
        display: flex;
		overflow:hidden;
        padding: 8px;
        background-color: #FFF !important;
    }
    
    #intelliLogo {
        width: 100% !important;
        text-align: center;
        margin-bottom: 12px;
		background-color: #ffffff
    }
    
    #intelliLogo img {
        max-width: 140px;
        height: auto;
    }
    
    #intelliForm {
        width: 100% !important;
        padding: 0;
    }
    
    #intelliForm form {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    #intelliForm input[type="text"] {
        width: 100%;
        padding: 8px;
        font-size: 13px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    #intelliForm input[type="submit"] {
        width: 100%;
        padding: 10px;
        font-size: 12px;
        margin: 3px 0;
        border: none;
        border-radius: 4px;
        background-color: #003471;
        color: white;
        cursor: pointer;
    }
    
    .mobile-nav-content {
        margin: 15px 8px;
        padding: 12px;
    }
    
    .mobile-nav-item {
        font-size: 13px;
        padding: 10px 0;
    }
    
    #irResponseTitle h3 {
        font-size: 15px;
    }
    
    #irResponse {
        font-size: 12px;
    }
}

/* Intelliresponse form button adjustments for all screens */
#intelliForm form {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
    /* flex-wrap: wrap; */
}

#intelliForm input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#intelliForm input[type="submit"] {
    width: auto;
    min-width: 80px;
    padding: 8px 16px;
    font-size: 14px;
    margin: 0;
    border: none;
    border-radius: 4px;
    background-color: #005d61;
    color: white;
    cursor: pointer;
}

#intelliForm input[type="submit"]:hover {
    background-color: #004a4d;
}

/* Mobile and tablet adjustments for intelliForm */
@media (max-width: 767px) {
    #intelliForm form {
        flex-direction: column;
        gap: 10px;
		margin-top: 15px;
    }
    
    #intelliForm input[type="text"] {
        width: 100%;
        min-width: unset;
		background-color: #fff;
        color: #000000 !important;
    }
    
    #intelliForm input[type="submit"] {
        width: 48%;
        min-width: unset;
        background-color: #FBB315;
        color: #3e1707;
        font-family: "Roboto",'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', Helvetica, Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 700;
    }

    .ui-menu .ui-menu-item,
    #intelliForm input[type="text"] {
        font-weight: 700 !important;
    }
    
    .intelliBtn-container {
        display: flex;
        gap: 4%;
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #intelliForm input[type="text"] {
        width: 60%;
        min-width: 150px;
    }
    
    #intelliForm input[type="submit"] {
        width: auto;
        min-width: 90px;
    }
}

/* Response content adjustments */
#irResponseTitle h3 {
    font-size: clamp(16px, 2vw, 22px);
    line-height: 1.3;
    margin-bottom: 15px;
    word-wrap: break-word;
}

#irResponse {
    font-size: clamp(13px, 1.5vw, 16px);
    line-height: 1.5;
}

#irResponse p {
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#irRatingForm input[type="submit"],
#irRelatedForm input[type="submit"],
#irSuggestedForm input[type="submit"] {
    background: #FBB315;
    color: #3E1707;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: "Roboto",'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', Helvetica, Arial, sans-serif;
    font-weight: 700;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #004a4d;
}

#irPrint {
    float: none !important;
    text-align: right;
    margin-bottom: 15px;
}

#irPrint a {
    display: inline-block;
    margin: 0 5px;
    font-size: 12px;
}

/* Mobile feedback adjustments */
@media (max-width: 767px) {
    .rating-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
        margin-bottom: 8px;
    }
}

/* Mobile specific fixes for dropdowns */
@media (max-width: 767px) {
    #irRelatedForm, #irSuggestedForm {
        padding: 10px;
    }
    
    #irRelatedForm > div:last-child,
    #irSuggestedForm > div:last-child,
    #irSuggestedForm form > div:last-child,
    #irSuggestedForm div:last-of-type {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    
    #irRelatedForm select,
    #irSuggestedForm select,
    #irSuggestedId {
        flex: 1 !important;
        width: auto !important;
        min-width: 0 !important;
        font-size: 13px !important;
        padding: 6px !important;
        border: 1px solid #ccc !important;
        border-radius: 4px !important;
        background-color: white !important;
    }
    
    #irRelatedForm input[type="submit"],
    #irSuggestedForm input[type="submit"],
    #irSuggestedForm input[name="Submit"] {
        flex: 0 0 auto !important;
        width: 45px !important;
        min-width: 45px !important;
        max-width: 45px !important;
        padding: 6px 4px !important;
        font-size: 13px;
        background-color: #FBB315 !important;
        color: #3E1707 !important;
        border: none !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        text-align: center !important;
    }
    
    #irRelatedForm input[type="submit"]:hover,
    #irSuggestedForm input[type="submit"]:hover,
    #irSuggestedForm input[name="Submit"]:hover {
        background-color: #e09f00 !important;
    }
    
    #irRelatedForm,
    #irSuggestedForm {
        padding: 0 0px !important;
    }
    
    #irRelatedTitle,
    #irSuggestedTitle {
        font-size: 13px !important;
    }
}

/* Tablet and desktop specific fixes */
@media (min-width: 768px) and (max-width: 991px) {
    #irRelatedForm > div:last-child,
    #irSuggestedForm > div:last-child {
        gap: 8px;
    }
    
    #irRelatedForm input[type="submit"],
    #irSuggestedForm input[type="submit"] {
        width: 60px;
        min-width: 60px;
        max-width: 60px;
    }
}

@media (min-width: 992px) {
    #irRelatedForm > div:last-child,
    #irSuggestedForm > div:last-child {
        gap: 10px;
    }
    
    #irRelatedForm input[type="submit"],
    #irSuggestedForm input[type="submit"] {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        margin-top: 3px;
    }
}

/* Utility classes for responsive design */
.hidden {
   display: none !important;
}

.sr-only {
   position: absolute !important;
   width: 1px !important;
   height: 1px !important;
   padding: 0 !important;
   margin: -1px !important;
   overflow: hidden !important;
   clip: rect(0, 0, 0, 0) !important;
   white-space: nowrap !important;
   border: 0 !important;
}

.text-center {
   text-align: center !important;
}

.text-left {
   text-align: left !important;
}

.text-right {
   text-align: right !important;
}

/* Clearfix utility */
.clearfix::after {
   content: "";
   display: table;
   clear: both;
}

/* Responsive images */
img {
   max-width: 100%;
   height: auto;
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
   outline: 2px solid #005d61;
   outline-offset: 2px;
}

/* Print styles */
@media print {
   .mobile-menu-toggle,
   .mobile-nav,
   #topNav {
       display: none !important;
   }
   
   body {
       font-size: 12pt;
       line-height: 1.4;
   }
   
   #wrapper {
       width: 100% !important;
       margin: 0 !important;
   }
   
   #wrapper #canvas #center #centerContent {
       width: 100% !important;
   }
   
   #wrapper #canvas #center #rightBar {
       display: none !important;
   }
   
   a[href]:after {
       content: " (" attr(href) ")";
       font-size: 10pt;
       color: #666;
   }
   
   a[href^="javascript:"]:after,
   a[href^="#"]:after {
       content: "";
   }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
   body {
       background-color: white;
       color: black;
   }
   
   a {
       color: #0000EE;
   }
   
   a:visited {
       color: #551A8B;
   }
   
   button,
   input[type="submit"] {
       border: 2px solid black;
       background-color: white;
       color: black;
   }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
   .hamburger span {
       transition: none;
   }
   
   * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
   body {
       background-color: #1a1a1a;
       color: #e0e0e0;
   }
   
   #wrapper #canvas {
       background-color: #2d2d2d;
   }
   
   #wrapper #canvas #header {
       background-color: #003471;
   }
   
   #intelliresponse {
       /*background-color: #2d2d2d !important;*/
   }
   
   #intelliInner {
       /*background-color: #2d2d2d !important;*/
   }
   
   input[type="text"] {
       background-color: #404040;
       color: #e0e0e0;
       border-color: #666;
   }
   
   select {
       background-color: #404040;
       color: #e0e0e0;
       border-color: #666;
   }
}

/* Container queries support (progressive enhancement) */
@container (max-width: 600px) {
   .responsive-container {
       padding: 10px;
   }
}

/* Flexible grid system */
.grid {
   display: grid;
   gap: 1rem;
}

.grid-2 {
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
   grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-4 {
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* Responsive typography utilities */
.text-responsive {
   font-size: clamp(14px, 2.5vw, 18px);
   line-height: 1.5;
}

.heading-responsive {
   font-size: clamp(20px, 4vw, 32px);
   line-height: 1.2;
}

/* Aspect ratio utilities */
.aspect-16-9 {
   aspect-ratio: 16 / 9;
}

.aspect-4-3 {
   aspect-ratio: 4 / 3;
}

.aspect-square {
   aspect-ratio: 1 / 1;
}

/* Spacing utilities */
.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 2rem; }

.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-3 { margin: 1rem; }
.m-4 { margin: 1.5rem; }
.m-5 { margin: 2rem; }

/* Flexbox utilities */
.flex {
   display: flex;
}

.flex-column {
   flex-direction: column;
}

.flex-wrap {
   flex-wrap: wrap;
}

.justify-center {
   justify-content: center;
}

.justify-between {
   justify-content: space-between;
}

.align-center {
   align-items: center;
}

.align-start {
   align-items: flex-start;
}

.align-end {
   align-items: flex-end;
}

/* Position utilities */
.relative {
   position: relative;
}

.absolute {
   position: absolute;
}

.fixed {
   position: fixed;
}

.sticky {
   position: sticky;
}

/* Display utilities */
.block {
   display: block;
}

.inline {
   display: inline;
}

.inline-block {
   display: inline-block;
}

/* Width utilities */
.w-full {
   width: 100%;
}

.w-auto {
   width: auto;
}

.w-fit {
   width: fit-content;
}

/* Height utilities */
.h-full {
   height: 100%;
}

.h-auto {
   height: auto;
}

.h-screen {
   height: 100vh;
}

/* Border utilities */
.border {
   border: 1px solid #ddd;
}

.border-none {
   border: none;
}

.rounded {
   border-radius: 4px;
}

.rounded-lg {
   border-radius: 8px;
}

/* Shadow utilities */
.shadow {
   box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Color utilities */
.text-primary {
   color: #003471;
}

.text-secondary {
   color: #005d61;
}

.text-accent {
   color: #FBB315;
}

.text-muted {
   color: #666;
}

.bg-primary {
   background-color: #003471;
}

.bg-secondary {
   background-color: #005d61;
}

.bg-accent {
   background-color: #FBB315;
}

.bg-light {
   background-color: #f8f9fa;
}

.bg-white {
   background-color: white;
}

/* Animation utilities */
.transition {
   transition: all 0.3s ease;
}

.transition-fast {
   transition: all 0.15s ease;
}

.transition-slow {
   transition: all 0.5s ease;
}

/* Hover utilities */
.hover-scale:hover {
   transform: scale(1.05);
}

.hover-opacity:hover {
   opacity: 0.8;
}

/* Form utilities */
.form-control {
   width: 100%;
   padding: 8px 12px;
   border: 1px solid #ddd;
   border-radius: 4px;
   font-size: 14px;
}

.form-control:focus {
   border-color: #005d61;
   outline: none;
   box-shadow: 0 0 0 2px rgba(0, 93, 97, 0.2);
}

.btn {
   display: inline-block;
   padding: 8px 16px;
   border: none;
   border-radius: 4px;
   font-size: 14px;
   font-weight: 600;
   text-decoration: none;
   cursor: pointer;
   transition: all 0.2s ease;
}

.btn-primary {
   background-color: #003471;
   color: white;
}

.btn-primary:hover {
   background-color: #002a5c;
}

.btn-secondary {
   background-color: #005d61;
   color: white;
}

.btn-secondary:hover {
   background-color: #004a4d;
}

.btn-accent {
   background-color: #FBB315;
   color: #3E1707;
}

.btn-accent:hover {
   background-color: #e09f00;
}

/* Responsive visibility utilities */
@media (max-width: 480px) {
   .hide-xs {
       display: none !important;
   }
}

@media (min-width: 481px) and (max-width: 767px) {
   .hide-sm {
       display: none !important;
   }
}

@media (min-width: 768px) and (max-width: 991px) {
   .hide-md {
       display: none !important;
   }
}

@media (min-width: 992px) and (max-width: 1199px) {
   .hide-lg {
       display: none !important;
   }
}

@media (min-width: 1200px) {
   .hide-xl {
       display: none !important;
   }
}

/* Show utilities */
@media (max-width: 480px) {
   .show-xs {
       display: block !important;
   }
}

@media (min-width: 481px) and (max-width: 767px) {
   .show-sm {
       display: block !important;
   }
}

@media (min-width: 768px) and (max-width: 991px) {
   .show-md {
       display: block !important;
   }
}

@media (min-width: 992px) and (max-width: 1199px) {
   .show-lg {
       display: block !important;
   }
}

@media (min-width: 1200px) {
   .show-xl {
       display: block !important;
   }
}


/*changing*/


.mobile-nav,
.mobile-menu-toggle {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


@media (max-width: 767px) {
    #wrapper #canvas #center {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-flex-direction: column !important;
        flex-direction: column !important;
        -webkit-align-items: stretch !important;
        align-items: stretch !important;
    }
    
    #wrapper #canvas #header {
        display: -webkit-flex !important;
        display: flex !important;
        -webkit-align-items: center !important;
        align-items: center !important;
        -webkit-justify-content: space-between !important;
        justify-content: space-between !important;
    }
    
    #wrapper #canvas #header #logo {
        float: none !important;
        -webkit-flex: 0 0 auto !important;
        flex: 0 0 auto !important;
    }
    
    #wrapper #canvas #header #facName {
        float: none !important;
        -webkit-flex: 1 !important;
        flex: 1 !important;
    }
}

.mobile-search-btn,
input[type="submit"],
button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}


*, *::before, *::after {
    -webkit-box-sizing: border-box !important;
    box-sizing: border-box !important;
}


@media (max-width: 480px) {
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }
    
    body {
        -webkit-overflow-scrolling: touch !important;
        overflow-x: hidden !important;
        position: relative !important;
        min-height: 100vh !important;
    }
    
    #wrapper {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        width: 100vw !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}


input[type="text"],
select,
textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-border-radius: 0 !important;
    border-radius: 4px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}


input:focus,
select:focus,
textarea:focus,
button:focus {
    -webkit-tap-highlight-color: transparent !important;
    outline: 2px solid #005d61 !important;
    outline-offset: 2px !important;
}


@media (max-width: 767px) {
    .mobile-search-btn {
        font-family: 'Trade Gothic Next LT Pro', 'Trade Gothic Next LT', 'Trade Gothic Next', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif !important;
        -webkit-font-smoothing: antialiased !important;
        -moz-osx-font-smoothing: grayscale !important;
    }
}


.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
}


.mobile-menu-toggle {
    z-index: 9999 !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}

.mobile-nav {
    z-index: 9998 !important;
    -webkit-transform: translateZ(0) !important;
    transform: translateZ(0) !important;
}


.debug-ios {
    border: 2px solid red !important;
    background-color: rgba(255, 0, 0, 0.1) !important;
}


@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    .mobile-nav {
        height: 100vh !important;
        height: -webkit-fill-available !important;
    }
    
    body {
        min-height: 100vh !important;
        min-height: -webkit-fill-available !important;
    }
}
.ui-helper-hidden-accessible {
    display: none;
}