@font-face {
  font-family: 'Open Sans';
  src: url('OpenSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url('OpenSans-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
}

html {
    font-family: "Open Sans";
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    max-width: 100vw;
}

ul {
  padding-inline-start: 1.5rem;
}

.cookie-popup {
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Increased to avoid overlap with overlay */
    display: none;
    max-width: 350px;
}
.cookie-popup.show {
    display: block;
}
.cookie-popup p {
    margin: 0 0 15px;
    font-size: 14px;
    line-height: 1.5;
}
.cookie-popup button {
    width: 120px;
    height: 40px;
    margin-right: 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}
.cookie-popup button:hover {
    opacity: 0.9;
}
.cookie-popup .accept {
    background: rgb(0, 0, 0);
    color: white;
}
.cookie-popup .decline {
    background: #ededed;
    color: rgb(0, 0, 0);
}

section {
    max-width: 1800px;
    margin: auto;
    overflow: hidden;
}

footer {
    width: 100vw;
    max-width: 1800px;
    margin: auto;
    overflow: hidden;
}

#header {
    background: rgba(0, 0, 0, 0.85);
    width: 97%;
    max-width: 1750px;
    margin: auto;
    height: 5rem;
    position: fixed;
    z-index: 8;
    display: flex !important; 
    justify-content: center;
    align-items: center;
    flex-direction: row;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    border-radius: 7px;
    inset: 0;
    margin-top: 12px;
}

#left_header {
    width: 40%;
    height: 5rem;
}

#right_header {
    width: 60%;
    height: 5rem;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 1rem;
}

nav {
    z-index: 9;
    height: 5rem;
}

.menu_list {
    width: fit-content;
    height: 5rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 99;
    gap: 2rem;
    top: 40px;
    padding-right: 10rem;
}

.navicon {
    top: 50%;
    transform: translateY(-50%);
    right: 35px;
    position: absolute;
    z-index: 99;
    background-repeat: none;
    filter: invert(1);
    transition-duration: 10ms;
    border: rgba(0, 0, 0, 0) 2px solid;
    border-radius: 3px;
    border-width: 2px;
    height: 2.8rem;
    aspect-ratio: 1/1;
}

.navicon:hover {
    border: rgb(0, 0, 0, 0.9) 2px solid;
    cursor: pointer;
}

.hidden {
    display: none;
}

.invisible {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

#company_name {
    position: absolute;
    font-size: 1.6rem;
    left: 11.5rem;
    top: 1.5rem;
    color: #ffffff;
    display: inline-block;
    letter-spacing: 0.18rem;
    font-weight: 100;
}

#company_name_addon {
    font-size: 1.1rem;
}

#logoimg {
    position: absolute;
    height: 3.3rem;
    top: 0.85rem;
    left: 6rem;
}

.footer_logo {
    height: 130px;
    width: 119px;
}

#company_name:hover, #company_name_addon:hover, #logoimg:hover {
    cursor: pointer;
}

.header_links {
    height: fit-content;
    position: relative;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: #ffffff;
}

.header_links:hover {
    text-decoration: underline;
}

#section_one {
    inset: 0;
    left: 0px;
    top: 0px;
    width: 100%;
    max-width: 1800px;
    margin: auto;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2% 30% 1fr 160px 10%;
    grid-template-rows: 17% 1fr 160px 11%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.mainimage {
    grid-area: 1 / 1 / 5 / 6; 
    background-image: url("../images/main.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 56.25vw;
    width: 100vw;
    max-width: 1800px;
    max-height: 930px;
    margin: auto;
    z-index: -1;
    transform: scale(1);
    transition: transform 0.2s ease-out;
    will-change: transform;
}

.sectionOne_text {
    text-align: left;
    grid-area: 2 / 2 / 4 / 3;
    padding: 3rem;
    background-image: linear-gradient(45deg, rgba(64, 144, 214, 0.859) , #c77b44 25%, #c77b44 45%, #285ecac0 100%);
    background-clip: text; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    font-size: 7vw;
    line-height: 7.5vw;
    word-spacing: 1rem;
    font-weight: 700;
    font-style: bold;
    height: fit-content;
    width: fit-content;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    mask: text;
    -webkit-mask: text;
    mask-image: linear-gradient(white, white);
    -webkit-mask-image: linear-gradient(white, white);
    -webkit-text-stroke-color: transparent;
    -webkit-text-stroke-width: 2px;
}


#sectionOne_bookButton {
    grid-area: 3 / 4 / 4 / 5;
    width: 15rem;
    height: 15rem;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.5s ease;
    text-align: center;
    font-size: 3rem;
    letter-spacing: 0.1rem;
    color: #fbc00e;
    border: 5px solid #fbc00e;
    border-radius: 6px 30px 6px 30px;
    font-weight: 700;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

#sectionOne_bookButton:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.55);
}

    .buttom_addon {
        display: none;
    }

.about_us {
    background-color: #ffffff;
    padding: 3rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.title_about_us {
    font-size: 3.8rem;
    color: #000000;
    word-spacing: 1rem;
    font-weight: 200;
    font-style: bold;
    text-align: center;
    margin-bottom: 2.5rem;
}

.text_about_us {
    color: #000000;
    font-size: 1.4rem;
    text-align: center;
    line-height: 4rem;
    word-spacing: 1rem;
    font-weight: 200;
    max-width: 900px;
}

.our_services {
    display: grid;
    grid-template-columns: repeat(17, 1fr);
    grid-template-rows: repeat(14, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    max-width: 1800px;
    margin: auto;
    height: fit-content;
    background: linear-gradient(180deg, #222 50%, rgba(55, 184, 184, 1) 50%);
}

.services_h1 {
    grid-area: 2 / 1 / 8 / 3;
    z-index: 2;
    font-size: 44px;
    word-spacing: 1rem;
    font-weight: 700;
    line-height: 60px;
    color: rgb(255, 153, 0);
    align-self: center;
    place-self: center;
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.services2_h1 {
    z-index: 2;
    font-size: 4rem;
    word-spacing: 1rem;
    font-weight: 600;
    line-height: 6rem;
    color: rgb(0, 0, 0);
    align-self: center;
    place-self: center;
    grid-area: 11 / 1 / 13 / 3; 
}

.left_action_mask {
    z-index: 4;
    grid-area: 2 / 3 / 14 / 10;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    border-bottom: 5px solid #00000000;
}

.right_action_mask {
    z-index: 4;
    grid-area: 2 / 10 / 14 / 17;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
}

.right_action_mask:hover ~ .image_floor_plan {
    filter: blur(13px);
    opacity: 0.12;
    transition: opacity, 0.3s ease;
    z-index: 1;
}

.left_action_mask:hover ~ .image_photography_service {
    filter: blur(13px);
    opacity: 0.12;
    transition: opacity, 0.3s ease;
    z-index: 1;
}

.left_action_mask:hover {
    border-bottom: 5px solid #000000;
    border-radius: 15px;
}

.right_action_mask:hover {
    border-bottom: 5px solid #000000;
    border-radius: 15px;
}

.services_div_left {
    background-color: #ffffff;
    grid-area: 2 / 3 / 14 / 10;
    padding: 40px;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
}

.services_div_right {
    background-color: #ffffff;
    grid-area: 2 / 10 / 14 / 17;
    text-align: justify;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
}

.image_photography_service {
    z-index: 3;
    background-image: url(../images/estate/Job_0028.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%;
    transition: opacity 0.3s ease;
}

.left_h3_services {
    grid-area: 3 / 3 / 4 / 10;
    text-align: center; 
    font-size: 2rem;
    z-index: 3;
}

.text_photography_service {
    z-index: 2;
    grid-area: 4 / 3 / 14 / 10;
    padding: 40px;
    padding-top: 0px;
    text-align: justify;
    font-size: 1.4rem;
    line-height: 4rem;
    word-spacing: 1rem;
    font-weight: 200;
    overflow: hidden;
}

.service_text {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content:space-between;
    height: 100%;
}

.image_floor_plan {
    z-index: 3;
    background-image: url(../images/2d_square.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90% 90%;
    transition: opacity 0.3s ease;
}

#floor_plan {
    accent-color: #000000;
}

.right_h3_services {
    grid-area: 3 / 10 / 4 / 17;
    text-align: center; 
    font-size: 2rem;
    z-index: 3;
}

.text_floor_plan {
    padding: 40px;
    padding-top: 0px;
    z-index: 2;
    grid-area: 4 / 10 / 14 / 17;
    text-align: justify;
    font-size: 1.4rem;
    line-height: 4rem;
    word-spacing: 1rem;
    font-weight: 200;
    overflow: hidden;
}

.gallery_samples {
    max-width: 1800px;
    margin: auto;
    background-color: #222;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
}

.gallery_samples_link {
    color: #e2e2e2;
    font-size: 1.6rem;
    text-decoration: none;
    text-align: center;
    margin-top: 2rem;
    display: block;
}

.gallery_samples_link:hover {
    text-decoration: underline;
}

.gallery_image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: 0.3s ease;
}

#photo {
    overflow: auto;
    overscroll-behavior: contain;
}

.text_main2 {
    width: 90%;
    background-color: #222222;
    font-size: 4rem;
    font-weight: 700;
    word-spacing: 1rem;
    line-height: 6rem;
    color: rgb(255, 153, 0);
    letter-spacing: 0.1cap;
    text-align: center;
    padding: 20px;
    padding-bottom: 0px;
    text-align: right;
}

.flex-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.flex-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flex-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.fourth_info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 35px;
    margin-bottom: 35px;
}

.text_main2a {
    font-size: 4rem;
    line-height: 3.8rem;
    word-spacing: 1rem;
    font-weight: 700;
    text-align: center;
    color: rgb(255, 153, 0);
    letter-spacing: 0.1cap;
    margin: 25px;
}

.table {
    color: #000000;
    border-collapse: collapse;
    border-spacing: 0;
    border-color: none;
    height: fit-content;
    max-width: 1300px;
    table-layout: fixed;
}

.tech_list {
    line-height: 3rem;
}

.tech_list > li > b {
    font-weight: bold;
}

th {
    text-align: center;
    vertical-align: center;
    height: fit-content;
    width: 33%;
    overflow: hidden;
}

.tg-header1 {
    border-radius: 15px 0px 0px 0px;
    background-color: #222222;
    color: #fbfbfb;
    font-size: 1.4rem;
    border-right: #ffffff solid 1px;
}

.tg-header2 {
    background-color: #222222;
    color: #fbfbfb;
    font-size: 1.4rem;
}

.tg-header3 {
    border-radius: 0px 15px 0px 0px;
    height: fit-content;
    padding: 10px;
    border-left: #ffffff solid 1px;
    background-color: #222222;
    color: #fbfbfb;
    font-size: 14px;
}

.tcell {
    background-color: #ebebeb;
    text-align: left;
    vertical-align: top;
    padding: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: justify;
    text-justify: inter-word;
    font-size: 1.4rem;
    line-height: 3rem;
    word-spacing: 1rem;
    font-weight: 200;
}

.tcell1 {
    border-radius: 0px 0px 0px 15px;
    border-right: #ffffff solid 1px;
}

.tcell3 {
    border-radius: 0px 0px 15px 0px;
    border-left: #ffffff solid 1px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    padding: 20px;
    background-color: rgba(255, 255, 255, 1);
    color: rgb(0, 0, 0);
    z-index: 9;
    font-size: 1.4rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.content {
    width: 80%;
    margin: auto;
    max-width: 800px;
    height: auto;
    text-align: left;
    margin: 0 auto;
    z-index: 9;
    line-height: 3rem;
    padding-top: 20px;
    padding-bottom: 40px;
    padding-right: 50px;
    overflow-x: hidden;
}

.second_info {
    height: fit-content;
    max-width: 1800px;
    margin: auto;
    height: 460px;
    display: grid;
    grid-template-columns: 8.5rem 1fr 320px 2%;
    grid-template-rows: 10% 1fr 40%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: stretch;
    justify-items: stretch;
}

.text_main1 {
    grid-area: 2 / 1 / 3 / 2;
    font-size: 3.8rem;
    writing-mode: sideways-lr;
    line-height: 3.8rem;
    font-weight: 700;
    font-style: bold;
    text-align: left;
    color: #000000;
    letter-spacing: 0.1cap;
    padding-left: 10px;
}

.technical_text {
    grid-area: 1 / 2 / 4 / 3;
    color: #ffffff;
    background-color: #222222;
    height: 100%;
    font-size: 1.4rem;
    word-spacing: 1rem;
    font-weight: 200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 2.5rem;
}

.tech_img_block {
    grid-area: 1 / 3 / 4 / 4;
    background-color: #37b8b8;
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-width: 200px;
}

.tech_img {
    object-fit: contain;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tech_rightStrip {
    background-color: #222222;
    grid-area: 1 / 4 / 4 / 5;
}

li {
    margin-bottom: 1rem;
}

.insta_wraper {
    max-width: 1800px;
    margin: auto;
    margin-top: 60px; 
    margin-bottom: 50px;
}

.title_insta {
    font-size: 2.4rem;
    color: #000000;
    word-spacing: 2rem;
    font-weight: 200;
    font-style: bold;
}

.insta_follow {
    color: #000000;
    font-size: 1.6rem;
    line-height: 4rem;
    word-spacing: 1rem;
    font-weight: 200;
    text-decoration: none;
}

.insta_follow:hover {
    text-shadow: rgb(255, 153, 0) 2px 2px 2px;
}

.insta_roll {
    width: 98%;
    margin: auto;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 10px;
}

.insta_pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.3s ease;
    display: block;
}

.insta_pic:hover {
    opacity: 0.5;
    background-color: #222222;
    transform: scale(1.05);
    transition: 0.3s ease;
}

.insta_pic_background {
    flex: 1 1 20%;
    aspect-ratio: 1 / 1;
    background-color: #222222;
    overflow: hidden;
}

.bookNow_wrapper {
    align-items: center;
    height: fit-content;
    width: 100vw;
    max-width: 1800px;
    margin: auto;
    margin-bottom: 40px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.bookform {
    border-color: #4c4c4c;
    border-style: solid;
    border-radius: 10px;
    border-width: 1px;
    max-width: 700px;
    width: fit-content;
    min-height: fit-content;
    padding: 5rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
    margin: 5px;
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.date_select {
    height: 35px;
    background-color: #3c3c3c0a;
    border-radius: .5rem;
    border: 2px solid transparent;
}

.form-control {
    width: 600px;
    height: 35px;
    background-color: #3c3c3c0a;
    border-radius: .5rem;
    border: 2px solid transparent;
    padding: 0 1rem;
    position: relative;
}

.bundle {
    position: relative;
    border-radius: 6px;
    background-color: #3c3c3c0a;
    height: 35px;
    border: transparent;
    font-size: 1.4rem; 
    width: 624px;
}

.bundle:focus {
    outline: #4c4c4c solid 3px;
}

.form-control:focus {
    outline: #4c4c4c solid 3px;
}

.checkbox { 
    font-size: 1.4rem;
    width: 620px;
    min-height: fit-content;
    padding-top: 15px;
    margin-bottom: 1rem;
}

label {
    font-size: 1.4rem;
}

#additional_requests {
    font-size: 1.4rem;
    height: 75px;
    padding: 7px;
    resize: none;
    width: 607px;
}

.margin_btm35 {
    padding-bottom: 35px;
}

.book_now {
    background-color: #ffffff; 
    color: rgb(48, 48, 48); 
    padding: 0px; 
    margin: 3rem; 
    align-self: center;
    font-size: 4rem;
    word-spacing: 1rem;
    font-weight: 200;
    line-height: 6rem;
    letter-spacing: 0.1cap;
    text-align: center;
}

.button_book {
    padding: 5px;
    margin: 30px;
    margin-top: 0px;
    border: none;
    background: none;
    cursor: pointer;
    align-self: center;
}

.button_book {
    --primary-color: #111;
    --hovered-color: #c84747;
    position: relative;
    display: flex;
    font-weight: 600;
    font-size: 22px;
    gap: 0.5rem;
    align-items: center;
}

.button_book p {
    margin: 0;
    position: relative;
    font-size: 20px;
    color: var(--primary-color);
}

.button_book::after {
    position: absolute;
    content: "";
    width: 0;
    left: 0;
    bottom: -7px;
    background: var(--hovered-color);
    height: 2px;
    transition: 0.3s ease-out;
}

.button_book p::before {
    position: absolute;
    content: "SUBMIT BOOKING";
    width: 0%;
    inset: 0;
    color: var(--hovered-color);
    overflow: hidden;
    transition: 0.3s ease-out;
}

.button_book:hover::after {
    width: 100%;
}

.button_book:hover p::before {
    width: 100%;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    text-align: center;
}

.success-message.show {
    display: block;
}

.error-message {
    display: none;
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    text-align: center;
}

.error-message.show {
    display: block;
}

.footer_wraper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0px;
    flex-wrap: nowrap;
    width: 100vw;
    max-width: 1800px;
    margin-top: auto;
    min-height: fit-content;
    height: 100%;
    padding-top: 25px;
    background-color: #222222;
}

.left_footer {
    height: 200px;
    width: 50%;
    color: #fbfbfb;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-color: rgb(255, 153, 0);
    border-style: solid;
    border-width: 1px 0px 2px 0px;
    padding-left: 15px;
    display: flex;
    flex-direction: row;
    flex-shrink: 2;
    gap: 0px;
    background-color: #111111;
}

.left_footer_left {
    width: 80%;
    color: #fbfbfb;
    padding-left: 15px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 0px;
    background-color: #111111;
}

.left_footer_right {
    width: 20%;
    min-width: 130px;
    padding-right: 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.left_footer_text {
    font-size: 1.7rem;
    word-spacing: 1rem;
    font-weight: 800;
    color: rgb(214, 214, 214);
    text-align: left;
    line-height: 30px;
    margin: 0px;
    margin-left: 10px;
    text-transform: uppercase;
}

.social_wraper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 200px;
    margin-left: 10px;
}

.social_icons {
    width: 30px;
    height: 30px; 
    margin: 5px; 
    opacity: 1;
}

.social_icons:hover {
    cursor: pointer;
    opacity: 0.8;
}

.right_footer {
    height: 200px;
    width: 50%;
    color: #ffffff;
    background-color: #111111;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    border-color: rgb(255, 153, 0);
    border-style: solid;
    border-width: 1px 0px 2px 0px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.footer_links_list {
    height: fit-content;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 1rem;
    margin-right: 15px;
}

.footer_link {
    font-size: 1.2rem;
    text-decoration: none;
    color: #ffffff;
}

.footer_link:hover {
    text-decoration: underline;
}

.footer_details {
    font-size: 1.2rem;
    color: #c0c0c0;
}

.footer_bottom {
    position: absolute;
    background-color: #222222;
    width: 100vw;
    max-width: 1800px;
    margin: auto;
    height: 40px;
    color: #ffffff;
    font-size: 12px;
    word-spacing: 1rem;
    font-weight: 200;
    text-align: right;
    color: #c0c0c0;
    vertical-align: baseline;
}

.close-btn {
    position: fixed;
    text-align: center;
    top: 20px;
    right: 30px;
    min-height: 33px;
    min-width: 33px;
    border: 6px double #ffffff;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    color: rgb(255, 255, 255);
    z-index: 999;
    border-radius: 8px;
    background-color: #c84747;
}

.close-btn:hover {
    border: 6px solid #ff9900;
}

.toggle-btn {
    cursor: pointer;
    font-weight: bold;
    margin-left: 8px;
    color: #ff9900;
}

.extra1, .extra2, .extra3 {
    display: none;
}

@media (max-width: 1509px) {
    .second_info {
        grid-template-columns: 8.5rem 1fr 350px 1%;
        height: 580px;
    }

    .extra1, .extra2, .extra3 {
        display: block;
    }
}

@media (max-width: 1206px) {
    .extra2, .extra3 {
        display: none;
    }
}

/* Extra Large Screens – desktops, wide monitors */
@media (max-width: 1399px) {
    html {
        font-size: 55%;
    }

    .text_about_us, .service_text, .tcell, .tech_list, .bookform, label {
        font-size: 1.6rem;
    }

    .footer_link {
        font-size: 1.4rem;
    }
}

/* Large Screens – standard desktops & laptops */
@media (max-width: 1199px) {

        #sectionOne_bookButton {
        width: 12rem;
        height: 12rem;
        font-size: 2.5rem;
        transform: translate(50px, 50px);
    }

    #company_name_addon {
        display: none;
    }

    .second_info {
        grid-template-columns: 5% 1fr 365px 2%;
        grid-template-rows: 7rem 1fr 35%;
        height: fit-content;
        min-height: 680px;
    }

    .tech_img_block { 
        grid-area: 1 / 3 / 4 / 4; 
        height: 100%;
        background-color: #222222;
        overflow: hidden;
    }

    .tech_img {
        position: relative;
        height: 450px;
        transform: translateY(-50%);
        top: 52%;
    }

    .technical_text { 
        grid-area: 2 / 1 / 4 / 3;
    }
    
    .text_main1 { 
        grid-area: 1 / 1 / 2 / 3;
        font-size: 3.6rem;
        writing-mode: horizontal-tb;
        line-height: 3.6rem;
        text-align: center;
        color: #ffffff;
        background-color: #222222;
        padding-top: 1.5rem;
    }
}

/* Medium Screens – tablets & small laptops */
@media (max-width: 991px) {
    #section_one {
    width: 100vw;
    height: fit-content;
    grid-template-columns: 1fr 70% 1fr;
    grid-template-rows: 80% 1fr 3%;
    margin: 0px;
    }

    .sectionOne_text {
        display: none;
    }

    .mainimage {
        background-image: url("../images/1_4x3.jpg");
        width: 100vw;
        height: 75vw;
        grid-area: 1 / 1 / 4 / 4;
        margin: 0px;
    }
    
    #sectionOne_bookButton {
        transform: none;
        font-size: 2rem;
        width: 30rem;
        height: 10rem;
        border-radius: 6px 36px 6px 36px;
        border-width: 2px;
        -webkit-backdrop-filter: blur(3px);
        backdrop-filter: blur(3px);
        grid-area: 2 / 2 / 3 / 3;
        justify-self: center;
    }

    .buttom_addon {
        display: block;
        font-size: 1.4rem;
        line-height: 3rem;
        color: #ffffffc1;
    }

    #header {
        background: rgba(0, 0, 0);
    }

    .menu_list {
        width: fit-content;
        min-width: 180px;
        height: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-end;
        z-index: 99;
        gap: 1.3rem;
        background-color: rgb(0, 0, 0);
        padding-bottom: 1.5rem;
        padding-top: 1.7rem;
        padding-right: 4rem;
        padding-left: 4rem;   
        -webkit-backdrop-filter: blur(7px);
        backdrop-filter: blur(7px);
        border-radius: 7px;
        position: fixed;
        right: 0%;
        top: 36px;
    }

    #right_header {
        z-index: 8;
        width: 60vw;
        height: fit-content;
        display: flex;
        justify-content: flex-end;
        padding-right: 0rem;
        padding-top: 8rem;
    }

    .hidden {
        display: none;
    }

    .second_info {
        grid-template-columns: 5% 1fr 300px 2%;
        height: fit-content;
        min-height: 550px;
    }

    .tech_img_block { 
        height: 100%;
        background-color: #222222;
        overflow: hidden;
    }

    .technical_text {
        padding-top: 0px;
        height: 100%;
    }
    
    .tech_img {
        position: relative;
        height: 450px;
        transform: translateY(-50%);
        top: 52%;
    }

    .fourth_info {
        padding-left: 15px;
        padding-right: 15px;
    }

    .table, .table thead, .table tbody, .table th, .table td, .table tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .table thead {
        display: none; /* hide headers on mobile */
    }

    .table tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 10px;
        overflow: hidden;
    }

    .table td {
        border: none;
        border-bottom: 1px solid #ddd;
        position: relative;
        padding: 20px;
        text-align: left;
        overflow-wrap: break-word; /* ensures long words wrap */
        word-break: break-word; /* ensures words break to avoid overflow */
        width: 100%;
    }

    .tcell::before {
        content: attr(data-label);
        display: block;
        font-weight: 800;
        margin-bottom: 10px;
        color: #222222;
    }

    .tcell1 {
        border-radius: 10px 10px 0 0;
    }

    .tcell3 {
        border-radius: 0 0 10px 10px;
        border-left: none;
    }

    #menu_list {
        gap: 3rem;
    }

    .header_links {
        font-size: 1.5rem;
    }
}

/* Small Screens – landscape phones, small tablets */
@media (max-width: 767px) {

    #sectionOne_bookButton {
        width: 28rem;
        height: 9rem;

    }
    
    .second_info {
        min-height: 550px;
    }
    
    .text_main1 {
        grid-area: 1 / 1 / 2 / 5;
    }

    .tech_img_block { 
        display: none;
    }

    .technical_text {
        padding-top: 0px;
        height: 100%;
        grid-area: 2 / 1 / 4 / 5;
    }

    .tcell {
        padding: 10px;
    }

    .bookform {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .form-control {
        width: 75vw;
        height: 25px;
    }

    .bundle {
        width: 78vw;
        height: 25px;
    }

    #additional_requests {
        width: 75.5vw;
    }

    .checkbox { 
        width: 76vw;
    }

    .left_footer_left {
        width: 100%;
    }

    .left_footer_right {
        width: 0%;
        display: none;
    }

    .left_footer {
        width: 40%;
    }

    .right_footer {
        width: 60%;
    }
    
    .insta_roll {
        flex-wrap: wrap;
    }

    .insta_pic_background {
        flex: 1 1 calc(50% - 15px); /* 2 per row with gap */
    }

    .footer_links_list {
        gap: 0.6rem;
    }
}

/* Extra Small Screens – portrait phones */
@media (max-width: 575px) {
    html {
        font-size: 62.5%;
    }

    .extra1 {
        display: none;
    }

    .footer_link {
        font-size: 1.1rem;
    }

    .close-btn {
        border: none;
        right: 10px;
        top: 15px;
    }

    .close-btn:hover {
        border: none;
    }

    .footer_links_list {
        gap: 1rem;
    }

    .footer_logo {
        height: 90px;
        width: 82px;
    }

    .navicon {
        right: 20px;
    }

    .mainimage {
        background-image: url("../images/2_tablet_main.jpg");
        background-size: cover;
        background-position: center;
        width: 100vw;
        height: 89vh;
        transform: none; 
        transition: none;
        will-change: auto;
    }

    #sectionOne_bookButton {
        border-width: 3px;
        padding: 1rem;
        height:fit-content;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        border-radius: 25px 25px 25px 25px;
        border-style: dotted;
    }

    .title_about_us {
        font-size: 3rem;
    }

    .text_about_us {
        line-height: 3rem;
    }

    #section_one {
        width: 100vw;
        height: 89vh;
        grid-template-columns: 1fr 90% 1fr;
        grid-template-rows: 73% 1fr 4%;
    }

    #logoimg {
        left: 2rem;
    }

    #company_name {
        font-size: 1.4rem;
        left: 6rem;
        top: 1.5rem;
        color: #ffffff;
        display: inline-block;
        letter-spacing: 0.18rem;
        font-weight: 100;
    }

    .header_links {
        font-size: 1.5rem;
    }

    #menu_list {
        gap: 3rem;
    }

    .text_main2 {
        text-align: center;
        font-size: 4rem;
    }

    .book_now {
        margin: 1.5rem;
    }

    .footer_wraper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100vw;
    }

    .left_footer {
        width: 100%;
        margin: 0px;
    }

    .right_footer {
        width: 100%;
        margin: 0px;
        padding: 10px;
        height: fit-content;
    }

    .left_footer_right {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .footer_links_list {
        text-align: right;
    }

    .left_footer_text {
        font-size: 1.6rem;
        margin-left: 0px;
    }

    .social_wraper {
        margin-left: 0px;
    }

    .text_main1 {
        font-size: 3rem;
    }

    .title_insta {
        font-size: 1.6rem;
    }

    .insta_follow {
        font-size: 1.4rem;
        word-spacing: 0.4rem;
    }

    .insta_wraper {
        margin-top: 30px; 
        margin-bottom: 0px;
    }
}

.services_section {
    display: none;
    width: 100vw;
}

@media (max-width: 1399px) {
    .our_services {
        display: none;
    }

    .services_section {
        display: flex;
        padding: 4rem 2rem;
        background: linear-gradient(180deg, #000 50%, #37b8b8 50%);
        color: #ffffff;
        flex-wrap: wrap;
        justify-content: center;
        gap: 3rem;
        box-sizing: border-box;
    }

    .services_heading {
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
        font-size: 4rem;
        word-spacing: 1rem;
        font-weight: 700;
        line-height: 6rem;
        color: rgb(255, 153, 0);
        letter-spacing: 0.1cap;
    }

    .service_card {
        background-color: #ffffff;
        color: #000;
        border-radius: 15px;
        padding: 2rem;
        flex: 0 1 calc(45% - 2rem);
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        box-sizing: border-box;
    }

    .service_image {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
        border-radius: 10px;
    }

    .service_title {
        font-size: 2.2rem;
        margin: 0;
        text-align: center;
    }

    .service_text p {
        margin-bottom: 1rem;
        font-size: 1.6rem;
        line-height: 3rem;
        word-spacing: 1rem;
        font-weight: 200;
    }
}

/* Mobile-friendly stacking */
@media (max-width: 991px) {
    .service_card {
        flex: 0 1 100%;
    }

    .services_heading {
        font-size: 3.2rem;
        margin-bottom: 2rem;
    }
}

@media screen and (min-width: 2000px) and (max-width: 4000px) {
  .sectionOne_text {
    font-size: 13.5rem;
    line-height: 14rem;
  }
}