.txt_services { text-decoration: underline; line-height: 2px solid #ea8f10; text-decoration-color: #ea8f10; } abbr { /* font-style: italic; */ color: chocolate; font-size: 24px; } // FAQ 1 // @import url(https://fonts.googleapis.com/css?family=Lato); // @import url(https://fonts.googleapis.com/css?family=Open Sans); // .faq-heading { // font-family: Lato; // font-weight: 400; // font-size: 19px; // -webkit-transition: text-indent 0.2s; // text-indent: 20px; // color: #333; // } // .faq-text { // font-family: Open Sans; // font-weight: 400; // color: #919191; // width: 95%; // padding-left: 20px; // margin-bottom: 30px; // } // .faq { // width: 1000px; // margin: 0 auto; // background: white; // border-radius: 4px; // position: relative; // border: 1px solid #e1e1e1; // } // .faq label { // display: block; // position: relative; // overflow: hidden; // cursor: pointer; // height: 56px; // padding-top: 1px; // background-color: #fafafa; // border-bottom: 1px solid #e1e1e1; // } // .faq input[type="checkbox"] { // display: none; // } // .faq .faq-arrow { // width: 5px; // height: 5px; // transition: -webkit-transform 0.8s; // transition: transform 0.8s; // transition: transform 0.8s, -webkit-transform 0.8s; // -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); // border-top: 2px solid rgba(0, 0, 0, 0.33); // border-right: 2px solid rgba(0, 0, 0, 0.33); // float: right; // position: relative; // top: -30px; // right: 27px; // -webkit-transform: rotate(45deg); // transform: rotate(45deg); // } // .faq input[type="checkbox"]:checked+label>.faq-arrow { // transition: -webkit-transform 0.8s; // transition: transform 0.8s; // transition: transform 0.8s, -webkit-transform 0.8s; // -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); // -webkit-transform: rotate(135deg); // transform: rotate(135deg); // } // .faq input[type="checkbox"]:checked+label { // display: block; // background: rgba(255, 255, 255, 255) !important; // color: #4f7351; // height: 225px; // transition: height 0.8s; // -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); // } // .faq input[type="checkbox"]:not(:checked)+label { // display: block; // transition: height 0.8s; // height: 60px; // -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55); // } // ::-webkit-scrollbar { // display: none; // } // FAQ 2 @import url("https://fonts.googleapis.com/css?family=Hind:300,400&display=swap"); .container { margin: 0 auto; padding: 4rem; width: 100%; /* Make the container width adaptive */ max-width: 48rem; /* Add a maximum width for larger screens */ box-sizing: border-box; /* Ensure padding is included in width */ } .accordion { .accordion-item { border-bottom: 1px solid $lightgray; button[aria-expanded="true"] { border-bottom: 1px solid $blue; } } button { position: relative; display: block; text-align: left; width: 100%; padding: 1em 0; color: $text; font-size: 1.15rem; font-weight: 400; border: none; background: none; outline: none; &:hover, &:focus { cursor: pointer; color: $blue; &::after { cursor: pointer; color: $blue; border: 1px solid $blue; } } .accordion-title { padding: 1em 1.5em 1em 0; font-size: 19px; } .icon { display: inline-block; position: absolute; top: 18px; right: 0; width: 22px; height: 22px; border: 1px solid; border-radius: 22px; &::before { display: block; position: absolute; content: ""; top: 9px; left: 5px; width: 10px; height: 2px; background: currentColor; } &::after { display: block; position: absolute; content: ""; top: 5px; left: 9px; width: 2px; height: 10px; background: currentColor; font-size: 19px; } } } button[aria-expanded="true"] { color: $blue; .icon { &::after { width: 0; } } + .accordion-content { opacity: 1; max-height: 9em; transition: all 200ms linear; will-change: opacity, max-height; font-size: 19px; } } .accordion-content { font-size: 19px; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 200ms linear, max-height 200ms linear; will-change: opacity, max-height; p { font-size: 17px; font-weight: 300; margin: 2em 0; } } } /* Responsive Styles */ @media (max-width: 768px) { .container { padding: 2rem; /* Reduce padding on smaller screens */ } button .accordion-title { font-size: 1rem; /* Adjust font size for better readability */ } .icon { top: 16px; right: 5px; width: 20px; height: 20px; } .accordion-content p { font-size: 15px; /* Smaller font for mobile */ margin: 1.5em 0; } } /* Web Services Plans Specific Styling */ /* Styles for the "web_services_plans" section */ .table-container { display: flex; flex-direction: column; align-items: center; margin: 20px; } .header { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; /* Adds spacing between headers */ margin-bottom: 15px; } .header-item { flex: 1 1 calc(25% - 10px); /* Responsive width */ background: linear-gradient(to right, #8a2be2, #4b0082); /* Modern purple gradient */ color: white; text-align: center; padding: 10px; border-radius: 5px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .content { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; } .content-item { flex: 1 1 calc(25% - 10px); text-align: center; padding: 15px; background: white; border: 1px solid #ddd; border-radius: 5px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } @media screen and (max-width: 768px) { .header-item, .content-item { flex: 1 1 calc(50% - 10px); /* Adjust for smaller screens */ } } @media screen and (max-width: 480px) { .header-item, .content-item { flex: 1 1 100%; /* Full-width on very small screens */ } } // Languages // .languages-container { // display: flex; // flex-direction: column; // align-items: center; // margin: 20px; // } // .languages-header { // display: flex; // flex-wrap: wrap; // justify-content: center; // gap: 10px; // margin-bottom: 15px; // } // .languages-header-item { // flex: 1 1 calc(20% - 10px); // background: linear-gradient(to right, #8a2be2, #4b0082); // color: white; // text-align: center; // padding: 10px; // border-radius: 5px; // box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); // } // .languages-content { // display: grid; // grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); // gap: 35px; // /* Ensures equal distance between logos */ // justify-content: center; // align-items: center; // } // .languages-content-item { // width: 120px; // height: 120px; // text-align: center; // background: white; // border: 1px solid #ddd; // border-radius: 15px; // box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); // display: flex; // flex-direction: column; // justify-content: center; // align-items: center; // padding: 10px; // transition: transform 0.2s, box-shadow 0.2s; // } // .languages-content-item:hover { // transform: scale(1.05); // box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); // } // .language_logo { // width: 70px; // height: 70px; // margin-bottom: 10px; // } // .language_name { // margin: 0; // font-size: 14px; // color: #333; // } // @media (max-width: 768px) { // .languages-header-item { // flex: 1 1 calc(33.33% - 10px); // } // .languages-content-item { // width: 100px; // height: 100px; // } // .language_logo { // width: 40px; // height: 40px; // } // .language_name { // font-size: 12px; // } // } // @media (max-width: 480px) { // .languages-header-item { // flex: 1 1 calc(50% - 10px); // } // } // Table Of Contents #table-of-contents { position: fixed; top: 50%; transform: translateY(-50%); right: -300px; width: 300px; height: 70vh; background-color: #f9f9f9; border-left: 1px solid #e0e0e0; transition: right 0.3s ease; z-index: 1000; overflow-y: auto; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); } /* TOC Open State */ #table-of-contents.open { right: 0; } /* TOC Toggle Button */ #toc-toggle { position: fixed; top: 50%; transform: translateY(-50%); right: 0; width: 40px; height: 100px; background-color: #f0f0f0; border: 1px solid #e0e0e0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1001; transition: right 0.3s ease; } #table-of-contents.open + #toc-toggle { right: 300px; } /* TOC List Styles */ #table-of-contents ul { list-style-type: none; padding: 15px; margin: 0; } #table-of-contents ul li { margin-bottom: 10px; } #table-of-contents ul li a { text-decoration: none; color: #333; transition: color 0.2s; } #table-of-contents ul li a:hover { color: #007bff; } /* Responsive Adjustments */ @media (max-width: 768px) { #table-of-contents { width: 100%; right: -100%; height: 50vh; bottom: 0; top: auto; transform: none; } #toc-toggle { right: 0; bottom: 0; top: auto; transform: none; width: 50px; height: 50px; } #table-of-contents.open { right: 0; bottom: 0; } #table-of-contents.open + #toc-toggle { right: 0; bottom: 50vh; } }