/*--------------------------------------------------------------------- 
File Name: style.css 
---------------------------------------------------------------------*/

/*---This is used on the mode-matching page---*/
/*------Disable arrows in number inputs-------*/

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/*------for making input boxes fill their parent div-------*/
input {
    width: 100%;
    padding: 8px;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #001366ff;
    box-shadow: 0 0 0 2px rgba(0, 19, 102, 0.2);
}

/*------table styling-------*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: center;
}

th {
    background-color: #001366ff;
    color: white;
    font-weight: 600;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #e8f4fd;
}

/*---------------------------------------------*/

/** ---------- calculator ---------- **/

.calculator {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 10vh; /* Account for fixed header */
}

.calculator h1 {
    font-size: 2.5rem;
    color: #001366ff;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.calculator h2 {
    font-size: 1.8rem;
    color: #001366ff;
    margin: 3rem 0 1.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid #001366ff;
    padding-bottom: 0.5rem;
}

.calculator h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.calculator p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.calculator button {
    background: linear-gradient(135deg, #001366ff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 19, 102, 0.3);
}

.calculator button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #001366ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 19, 102, 0.4);
}

.calculator button:active {
    transform: translateY(0);
}

.calculator button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calculator img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.calculator input {
    transition: all 0.3s ease;
}

.calculator-notes {
    margin-top: 3rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-notes h3 {
    color: #001366ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.calculator-notes p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.user-inputs {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.user-inputs .row:first-child p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #001366ff;
    margin-bottom: 1rem;
}

.user-inputs .row p {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* The following two functions are needed
to ensure input boxes stay vertically aligned
even if the text above them starts to wrap
*/

.user-inputs .row {
    display: flex;
    align-items: flex-end; /* This aligns all columns to the bottom */
}

.user-inputs .row > div {
    display: flex;
    flex-direction: column;
}

.lens-inputs {
    background: #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #001366ff;
}

.lens-inputs p {
    font-weight: 600;
    color: #001366ff;
    margin-bottom: 0.5rem;
}

.mode-matching-results {
    background: white;
    border: 2px solid #001366ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mode-matching-results > p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #001366ff;
    margin-bottom: 1rem;
    text-align: center;
}

.mode-matching-results .row p {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* No solution feedback styling */
.no-solution-feedback {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.no-solution-feedback h4 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.no-solution-feedback ul {
    list-style-type: disc;
    margin-left: 1.5rem;
}

.no-solution-feedback li {
    color: #856404;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

#mode-matching-results th,
#mode-matching-results td {
    width: 20%; /* Equal width for all 5 columns */
}

/** ---------- end calculator ---------- **/

/** ---------- BEGINNING: product inquiry form ---------- **/

.form {
    border: none;
    font-size: 16px;
}

.form table, tbody, tr, td {
    border: none;
    border-collapse: collapse;
    width: 100%;
}

.form input, select {
    border: 2px solid rgba(0, 19, 102, 1);
    text-align: center;
    width: 190px;
    height: 36px;
}

.form textarea {
    border: 2px solid rgba(0, 19, 102, 1);
    overflow: auto;
    width: 100%
}

.form button {
    background-color: rgba(0, 19, 102, 1);
    color: white;
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
}

/** ---------- END: product inquiry form ---------- **/

body {
     color: #666666;
     font-size: 14px;
     font-family: 'Poppins', sans-serif;
     line-height: 1.80857;
     font-weight: normal;
}

a {
     color: #1f1f1f;
     text-decoration: none !important;
     outline: none !important;
     -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
     -ms-transition: all .3s ease-in-out;
     -o-transition: all .3s ease-in-out;
     transition: all .3s ease-in-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
     letter-spacing: 0;
     font-weight: normal;
     position: relative;
     padding: 0;
     font-weight: normal;
     line-height: normal;
     color: #111111;
     margin: 0
}

h1 {
    font-size: 40px;
    color: #ffffffff
}

h2 {
    font-size: 18px;
    color: #ffffffff
}

h3 {
     font-size: 18px
}

h4 {
     font-size: 16px
}

h5 {
     font-size: 14px
}

h6 {
     font-size: 13px
}

*,
*::after,
*::before {
     -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
     box-sizing: border-box;
}

button:focus {
     outline: none;
}

ul,
li,
ol {
     margin: 0px;
     padding: 0px;
     list-style: none;
}

p {
     margin: 0px;
     padding: 0;
     font-weight: 400;
     font-size: 17px;
     line-height: 28px;
}

a {
     color: #222222;
     text-decoration: none;
     outline: none !important;
}

a,
.btn {
     text-decoration: none !important;
     outline: none !important;
     -webkit-transition: all .3s ease-in-out;
     -moz-transition: all .3s ease-in-out;
     -ms-transition: all .3s ease-in-out;
     -o-transition: all .3s ease-in-out;
     transition: all .3s ease-in-out;
}

img {
     max-width: 100%;
     height: auto;
}

 :focus {
     outline: 0;
}

.btn-custom {
     margin-top: 20px;
     background-color: transparent !important;
     border: 2px solid #ddd;
     padding: 12px 40px;
     font-size: 16px;
}

.lead {
     font-size: 18px;
     line-height: 30px;
     color: #767676;
     margin: 0;
     padding: 0;
}

.form-control:focus {
     border-color: #ffffff !important;
     box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

.navbar-form input {
     border: none !important;
}

.badge {
     font-weight: 500;
}

blockquote {
     margin: 20px 0 20px;
     padding: 30px;
}

button {
     border: 0;
     margin: 0;
     padding: 0;
     cursor: pointer;
}

.full {
     width: 100%;
     float: left;
     margin: 0;
     padding: 0;
}

.titlepage {
     padding-bottom: 60px;
}

.titlepage::before {
     content: "";
     position: absolute;
     border: #fff solid 5px;
     border-width: 5px;
     width: 80px;
     z-index: 999;
     margin: 0 auto;
     left: 0;
     right: 0;
     top: 55px;
}

.titlepage h2 {
     font-size: 45px;
     font-weight: bold;
     line-height: 50px;
     color: #323232;
}

.read_more {
     display: inline-block;
     background: #001366ff;
     color: #fff;
     max-width: 215px;
     height: 61px;
     line-height: 61px;
     width: 100%;
     font-size: 17px;
     text-align: center;
     font-weight: 500;
     transition: ease-in all 0.5s;
}

.read_more:hover {
     background: #0e0b01;
     color: #fff;
     transition: ease-in all 0.5s;
}

.img_responsive {
     max-width: 100%;
}

.text_align_center {
     text-align: center;
}

.text_align_left {
     text-align: left;
}

.text_align_right {
     text-align: right;
}

.d_flex {
     display: flex;
     align-items: center;
     flex-wrap: wrap;
}

.container-header {
    width: 98vw;
    margin: 0px;
    position: absolute;
    top: 10px
}

.container {
    max-width: 1170px;
}

/*--------------------------------------------------------------------- 
header 
---------------------------------------------------------------------*/

.header {
     width: 100%;
     background: rgba(0, 19, 102, 1);
     height: 10vh;
     padding: 10px 10px;
     position: fixed;
     z-index: 999;
     box-shadow: 3px 0 13px rgba(30, 30, 30, 0.90);
}

.logo img {
    height: 10vh;
    min-width: 282px;
    padding-top: 0vh;
}

/*--------------------------------------------------------------------- 
menu section
---------------------------------------------------------------------*/

.navigation.navbar {
     float: right;
     padding: 0;
}

.navigation.navbar-dark .navbar-nav .nav-link {
     padding: 0px 30px;
     color: #fff;
     font-size: 17px;
     line-height: 20px;
     font-weight: 400;
}

.navigation.navbar-dark .navbar-nav .nav-link:focus,
.navigation.navbar-dark .navbar-nav .nav-link:hover {
     color: #fff;
}

.navigation.navbar-dark .navbar-nav .active>.nav-link,
.navigation.navbar-dark .navbar-nav .nav-link.active,
.navigation.navbar-dark .navbar-nav .nav-link.show,
.navigation.navbar-dark .navbar-nav .show>.nav-link {
     color: #fff;
}

.di_no {
     display: none;
}

ul.email {
     padding-top: 1px;
     display: flex;
     align-items: center;
     justify-content: flex-end;
     flex-wrap: wrap;
}

ul.email li {
     padding: 0px 35px;
}

ul.email li:nth-child(2) {
     padding-right: 0;
}

ul.email li a {
     font-size: 17px;
     color: #fff;
}

ul.email li i {
     color: #fff;
     font-size: 19px;
}

/** banner_main **/

#top_section {
     background-image: url('../images/web-background-v1.png');
     background-size: cover;
     background-repeat: no-repeat;
     padding-top: 20vh;
     position: relative;
     height: 100vh;
     background-position: center;
}

#myCarousel .carousel-indicators {
     bottom: -50px;
     margin-left: 11px;
     right: inherit;
}

#myCarousel .carousel-indicators .active {
     background: #0e0b01;
}

#myCarousel .carousel-indicators li {
     cursor: pointer;
     background: #fff;
     border-radius: 40px;
     width: 22px;
     height: 22px;
}

#myCarousel a.carousel-control-next,
#myCarousel a.carousel-control-prev {
     display: none;
}

.relative {
     position: inherit;
     bottom: 0;
     padding: 0;
}

.bluid {
     margin-top: 10px;
     font-family: 'Open Sans', sans-serif;
     text-align: left;
}

.banner_main .bluid h1 {
     color: #fff;
     font-size: 1em;
     line-height: 1em;
     font-weight: bold;
     padding-bottom: 0.5em;
}

.banner_main .bluid p {
     color: #fff;
     line-height: 25px;
     font-weight: 500;
     padding-bottom: 50px;
     font-size: 17px;
}

.banner_main .bluid .read_more {
     margin-right: 8px;
     background: #fff;
     color: #000;
}

.banner_main .bluid .read_more:hover {
     color: #fff;
     background: #0e0b01;
}

.carousel-image {
    float: right;
    width: 45vw
}

.carousel-item li {
    color: #ffffffff;
    font-size: 18px
}

.carousel-item h1 {
    font-size: 40px;
    color: #ffffffff
}

/** secondary-page **/

.secondary-page {
    padding-top: 5vh;
    padding-left: 10vw;
    padding-right: 10vw
}

.secondary-page h1 {
    font-size: 40px;
    color: #000;
    padding-bottom: 2vh
}

/** end secondary-page **/

/** portfolio **/

.portfolio {
     padding-top: 90px;
     padding-bottom: 90px;
     background: #fff;
}

.portfolio .titlepage::before {
     right: inherit;
     border: #2e2f34 solid 5px;
     left: 15px;
}

.portfolio_main {
     margin-bottom: 30px;
     transition: ease-in all 0.5s;
}

.portfolio_main figure {
     margin: 0;
     position: relative;
     overflow: hidden;
}

#ho_nf:hover {
     box-shadow: 3px 0 20px rgba(30, 30, 30, 0.31);
     transition: ease-in all 0.5s;
}

#ho_nf:hover .portfolio_text {
     height: 240px;
     transition: ease-in all 0.5s;
     padding: 40px 40px;
}

#ho_nf:hover .li_icon {
     margin-top: -65px;
     transition: ease-in all 0.7s;
}

.portfolio_text {
     cursor: pointer;
     position: absolute;
     transition: ease-in all 0.5s;
     bottom: 0;
     height: 0;
     background: #fff;
     overflow: initial;
}

.li_icon {
     display: flex;
     transition: ease-in all 0.7s;
     z-index: 99999999999999999999999;
     position: absolute;
}

.li_icon a {
     background: #fff;
     width: 60px;
     height: 60px;
     border-radius: 50px;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #3a404e;
     box-shadow: 3px 0 9px rgba(30, 30, 30, 0.09);
}

.li_icon a:hover {
     background: #0f1012;
     color: #fff;
}

.portfolio_text h3 {
     color: #0c0c0d;
     font-size: 24px;
     line-height: 30px;
     font-weight: bold;
     padding-bottom: 15px;
}

.portfolio_text p {
     color: #031330;
     font-size: 17px;
     line-height: 30px;
     padding-bottom: 15px;
}

.portfolio .read_more {
     margin: 0 auto;
     display: block;
     background: #252525;
     margin-top: 30px;
}

.portfolio .read_more:hover {
     background: #464646c7;
}

/* end portfolio */

/** contact section **/

.contact {
     background: #fefeff;
     padding: 90px 0;
}

.contact .titlepage::before {
     right: inherit;
     border: #2e2f34 solid 5px;
     left: 15px;
}

.main_form .contactus {
     border: #d2d2d3 solid 1px;
     padding: 0 15px;
     margin-bottom: 25px;
     width: 100%;
     height: 71px;
     background: #fff;
     color: #888888;
     font-size: 16px;
     font-weight: normal;
}

.main_form .textarea {
     border: #d2d2d3 solid 1px;
     margin-bottom: 25px;
     width: 100%;
     background: #fff;
     color: #888888;
     font-size: 18px;
     font-weight: normal;
     padding: 57px 15px 0 15px;
     border-radius: 0;
     height: 150px;
}

.main_form .send_btn {
     font-size: 17px;
     transition: ease-in all 0.5s;
     background-color: #323232;
     text-transform: uppercase;
     color: #fff;
     padding: 25px 0px;
     max-width: 252px;
     width: 100%;
     display: block;
     margin-top: 10px !important;
     font-weight: bold;
}

.main_form .send_btn:hover {
     background-color: #464646c7;
     transition: ease-in all 0.5s;
     color: #fff;
}

#request *::placeholder {
     color: #888888;
     opacity: 1;
}

/** end contact section **/

/** footer **/

.footer {
     background: #001366ff;
     padding-top: 10px
}

.newslatter_form {
     display: flex;
     align-items: center;
     margin-bottom: 70px;
}

.ente {
     color: #000;
     border: inherit;
     padding: 0 30px;
     height: 66px;
     width: 100%;
     font-size: 17px;
}

.subs_btn {
     max-width: 289px;
     display: inline-block;
     background: #151515;
     height: 66px;
     width: 100%;
     color: #fff;
     font-size: 17px;
     text-transform: uppercase;
     font-weight: bold;
     transition: ease-in all 0.5s;
}

.subs_btn:hover {
     background: #fff;
     color: #151515;
     transition: ease-in all 0.5s;
}

.Informa h3 {
     color: #ffffff;
     font-size: 23px;
     font-weight: bold;
     line-height: 21px;
     margin-bottom: 15px;
     margin-top: 26px;
     text-transform: uppercase;
}

.Informa li {
     font-size: 17px;
     line-height: 37px;
     color: #ffffff;
}

.Informa li a:hover {
     color: #bdbdbe;
}

.helpful ul li a {
     color: #fff;
     font-size: 17px;
     line-height: 30px;
}

.helpful ul li a:hover {
     color: #bdbdbe;
}

.conta ul li a {
     color: #ffffff;
}

.conta ul li a i {
     padding-right: 5px;
}

.copyright {
     background: #001366ff;
     margin-top: 10px;
     padding: 20px 0px;
}

.copyright p {
     color: #bdbdbe;
     font-weight: 400;
}

.copyright a {
     color: #bdbdbe;
}

.copyright a:hover {
     color: #fff;
}

/** end footer **/

/*- - ener page css--*/

.inner_page .header {
     box-shadow: 0 -3px 20px 0px #717171;
     position: inherit;
}

.inner_page .about {
     margin: 90px 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .calculator {
        padding: 1.5rem;
    }
    
    .calculator h1 {
        font-size: 2.2rem;
    }
    
    .calculator h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {
    .calculator {
        padding: 1rem;
        margin-top: 12vh;
    }
    
    .calculator h1 {
        font-size: 2rem;
    }
    
    .calculator h2 {
        font-size: 1.4rem;
    }
    
    .user-inputs, .mode-matching-results {
        padding: 1rem;
    }
    
    .lens-inputs {
        padding: 0.8rem;
    }
    
    /* Stack form elements vertically on medium screens */
    .user-inputs .row > div {
        margin-bottom: 1rem;
    }
    
    .lens-inputs .row > div {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    .calculator {
        padding: 0.8rem;
        margin-top: 15vh;
    }
    
    .calculator h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .calculator h2 {
        font-size: 1.2rem;
    }
    
    .calculator h3 {
        font-size: 1.1rem;
    }
    
    .calculator button {
        padding: 10px 30px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }
    
    .user-inputs, .mode-matching-results {
        padding: 0.8rem;
    }
    
    .lens-inputs {
        padding: 0.6rem;
    }
    
    /* Make table responsive */
    table {
        font-size: 12px;
    }
    
    th, td {
        padding: 8px 4px;
    }
    
    /* Smaller input fields on mobile */
    input {
        padding: 6px;
        font-size: 13px;
    }
    
}

@media (max-width: 576px) {
    .calculator {
        padding: 0.5rem;
        margin-top: 18vh;
    }
    
    .calculator h1 {
        font-size: 1.5rem;
    }
    
    .calculator h2 {
        font-size: 1.1rem;
    }
    
    .calculator h3 {
        font-size: 1rem;
    }
    
    .calculator button {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .user-inputs, .mode-matching-results {
        padding: 0.6rem;
    }
    
    .lens-inputs {
        padding: 0.5rem;
    }
    
    table {
        font-size: 11px;
    }
    
    th, td {
        padding: 6px 3px;
    }
    
    input {
        padding: 5px;
        font-size: 12px;
    }
    
    .user-inputs .row p, .mode-matching-results .row p {
        font-size: 0.75rem;
    }
    
    /* Stack columns for better mobile experience */
    .user-inputs .row > div,
    .lens-inputs .row > div,
    .mode-matching-results .row > div {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 0.8rem;
    }
    
    .calculator-notes {
        padding: 0 0.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus improvements for keyboard navigation */
input:focus,
button:focus {
    outline: 2px solid #001366ff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .calculator button {
        border: 2px solid #000;
    }
    
    input {
        border: 2px solid #000;
    }
    
    table, th, td {
        border: 2px solid #000;
    }
}