* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body, html {
    height: 100%;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.5rem;
}

/* Scroll-to-top button */
.scroll_top {
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 40px;
    height: 40px;
    background: #e7301f;
    border: 2px solid #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    display: none; /* Initially hidden */
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s;
    z-index: 9999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.scroll_top:hover {
    border: 2px solid #a70e00;
    color: #a70e00;
    background: #fff;
    font-size: 15px;
}

/* Logo menu */
.logo_menu {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    z-index: 99;
}

.logo_menu img {
    width: 150px;
    height: 80px;
    cursor: pointer;
}

.logo_menu .menu {
    width: auto;
    padding: 8px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: .3s ease;
}

.logo_menu .menu:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.logo_menu .menu span {
    display: block;
    width: 15px;
    height: 1.5px;
    margin: 3px 0;
    background-color: #000000;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.logo_menu .menu span:nth-child(2) {
    width: 8px;
}

.logo_menu .menu:hover span:nth-child(2) {
    width: 15px;
}

.scroll-container {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
}

/* Initial Bubble Setup */
.bubble {
    position: fixed;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    border-radius: 50% 0 50% 50%;
    z-index: 50;
    cursor: pointer;
    border: 1px solid red;
}

.bubble-layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    background: #fff;
    opacity: 1;
    transition: all .1s ease;
}

@keyframes expandBubble {
    0% {
        width: 1px;
        height: 1px;
        border-radius: 50% 0 50% 50%;
        top: 0;
        right: 0;
    }

    90% {
        width: 180vw;
        height: 180vh;
        border-radius: 25% 0 25% 25%;
    }

    100% {
        width: 200vw; /* Ensures full coverage */
        height: 200vh;
        border-radius: 0;
        top: 0;
        right: 0;
    }
}

/* Layered opacity effect */
.bubble-layer:nth-child(1) {
    opacity: 0.2;
    animation-delay: 0s;
}

.bubble-layer:nth-child(2) {
    opacity: 0.5;
    animation-delay: 0.1s;
}

.bubble-layer:nth-child(3) {
    opacity: 0.9;
    animation-delay: 0.2s;
    display: flex;
}

.bubble-layer:nth-child(3) .deco {
    position: fixed;
    right: -45%;
    bottom: 63%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-right: -40px;
    margin-bottom: -12%;
    transition: all .2s ease;
}

.bubble-layer:nth-child(3) .deco span {
    width: 120px;           /* Increased width for emphasis */
    height: 2px;           /* Slightly thicker line */
    background: #d01909;
    transform: rotate(-90deg); /* Rotates the text vertically */
    margin-top: 80%;
}

.bubble-layer:nth-child(3) .deco p {
    font-size: 14px;
    letter-spacing: 4px;
    color: #000;
    transform: rotate(-90deg); /* Rotates the text vertically */
    transform-origin: center; /* Rotates around the center */
    text-align: center; /* Centers the text */
    margin-bottom: 20px;
}

.bubble-layer:nth-child(3) .links {
    width: auto;
    position: fixed;
    display: flex;
    opacity: 0;
    flex-direction: column;
    text-align: right;
    right: -50%; /* Initially positioned off-screen */
    bottom: 20%; /* Initially positioned off-screen */
}

.bubble-layer:nth-child(3) .links.show {
    display: flex;
    opacity: 1;
    right: 10%;
    transition: all 0.2s ease; /* Smooth transition for opacity and transform */
}

.bubble-layer:nth-child(3) .links a{
    line-height: 50px;
    text-transform: uppercase;
    color: #000;
    font-size: 1.5em;
    letter-spacing: 1px;
    text-decoration: none;
    padding-right: 3px;
    font-weight: 600;
    margin: 5px 0;
    transition: .3s ease-in;
}

.bubble-layer:nth-child(3) .links a:hover{
    color: #ff4b4b;
    letter-spacing: 4px;
}

/* Side Panel */
.side-panel {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10px;
    padding: 10px 5px;
    background-color: #f4f4f4;
    border-radius: 3px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 4;
}

.side-panel a {
    display: block;
    width: 2px;
    height: 50px;
    background-color: #faa5a5;
    margin: 10px 0;
    border-radius: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.side-panel a.active {
    background-color: #de1a08;
    transform: scale(1.5);
}

.section {
    position: relative;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden; /* Ensures video doesn't overflow */
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Ensures video is fully contained within the section */
    z-index: -1;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}

.slide.active {
    display: block;
}

.background-image {
    width: 100%;
    height: 100%;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
    z-index: -1;
}

.next {
    right: 0;
    border-radius: 0 3px 3px 0;
}


.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section:nth-child(even) .content{
    align-items: flex-end;
    justify-content: right;
    text-align: right;
    overflow: hidden !important;
}

.content{
    position: relative;
    z-index: 1;
    width: 99%;
    flex-direction: column;
    padding: 0 5%;
    overflow: hidden !important;
}

/* Image animation */
.content img {
    animation: scaleDown 5s ease-in-out infinite;
    }

    /* Keyframes for scaling animation */
    @keyframes scaleDown {
    0% {
        transform: scale(1.5); /* Higher scale */
    }
    100% {
        transform: scale(1); /* Lower scale */
    }
}

/* Styles for Headings and Paragraphs */
.content h1 {
    width: 80%;
    font-size: 7rem;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    padding: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    
    background: linear-gradient(135deg, #ff5c5c, #fbd6d6); /* Gradient background */
    -webkit-background-clip: text; /* Apply gradient to text */
    background-clip: text; /* Apply gradient to text */
    
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
    
    animation: blink 1s step-end infinite; /* Blinking cursor animation */
}

.content p {
    width: 60%;
    font-size: 1.1rem;
    margin: 20px 0;
    color: #333;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-sizing: border-box;
    animation: fadeInSlide 1.5s ease-out;
    overflow: hidden !important;
    
    /* Subtle Gradient Background */
    background: linear-gradient(145deg, #ffffff, #f1f1f1);
    
    /* Soft Box Shadow */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.1);
    
    /* Add a subtle border for definition */
    border: 1px solid #ddd;
    
    /* Elegant Text Shadow */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Animation: Fade and Slide */
@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.content h5 {
    font-size: 5em;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    padding: 20px 20px 0 5px;
    position: relative;
    animation: fadeInSlide 1.5s ease-out;
    overflow: hidden !important;
    animation: typing 4s steps(30, end), blink 0.7s step-end infinite;
}

.content h2 {
    font-size: 5.2em;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    padding: 20px 20px 0 5px;
    animation: fadeInSlide 1.8s ease-out;
    position: relative;
    animation: typing 4s steps(30, end), blink 0.7s step-end infinite;
    overflow: hidden !important;
}

.section form{
    width: 50%;
    height: auto !important;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.section form h1{
    color: #e7301f;
    text-transform: uppercase;
    font-size: 2m;
    font-weight: 600;
}

.section form p{
    font-size: 14px;
    color: #e7301f;
    letter-spacing: 1px;
    margin-top: 10px;
}

.section form input{
    width: 100%;
    font-size: 13px ;
    padding: 10px 8px;
    outline: none;
    border: 2px solid gray;
    border-radius: 3px;
    background: transparent;
    margin-top: 5px;
}

.section form input:focus{
    border: 2px solid rgb(255, 150, 150);
}

.section form select{
    width: 100%;
    font-size: 13px ;
    padding: 10px 8px;
    outline: none;
    border: 2px solid gray;
    border-radius: 5px;
    background: transparent;
    margin-top: 5px;
}

.section form textarea{
    width: 100%;
    height: 150px !important;
    font-size: 13px ;
    padding: 10px 8px;
    outline: none;
    border: 2px solid gray;
    border-radius: 5px;
    background: transparent;
    margin-top: 5px;
}

.section form textarea:focus{
    border: 2px solid rgb(255, 150, 150);
}

.section form button{
    border: none;
    color: #e7301f;
    background: #fff;
    margin-top: 10px;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: all .3s ease;
}

.section form button:hover{
    background: #f75041;
    color: #fff;
    letter-spacing: 2px;
}

.section .login{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section .login h1{
    font-size: 25px;
    letter-spacing: 1px;
}

.section .login span{
    display: block;
    width: 35px;
    height: 1.5px;
    margin: 3px 0;
    background-color: #000000;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.section .login .items{
    width: 100%;
    margin: 5px 0;
}

.section .login .items p{
    margin: 3px 0;
}

.section .blocks{
    min-width: 35% !important;
    padding: 35px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    margin: 0 10px;
    cursor: pointer;
    transition: .3s ease-in;
}

.section .blocks:hover{
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    border-left: 4px solid #e7301f;
}

.section .blocks i{
    font-size: 3em;
    color: #e7301f;
    margin-bottom: 20px;
}

.section .blocks p{
    font-size: 2em;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
}

#coal{
    background-color: #333 !important; /* Base dark gray color */
    background-blend-mode: multiply;
    background-size: cover;
    background-repeat: no-repeat;
}

.section .my_accounts{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section .my_accounts .items{
    width: 95%;
    display: flex;
    align-items: start;
    justify-content: space-between;
    background: #333;
    border-radius: 4px;
    padding: 6px 5px;
}

.section .my_accounts .items:nth-child(1){
    padding: 20px 5px;
}

.section .my_accounts .items:nth-child(1) p{
    font-size: 13px;
    font-weight: 600 !important;
    color: #ffffff !important;
    letter-spacing: 2px;
    text-transform: uppercase !important;
}

.section .my_accounts .items .controls{
    display: flex;
    align-items: center;
    justify-content: center;
}

.section .my_accounts .items .controls button{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin: 0 5px;
    font-size: 13px;
    border-radius: 2px;
    background: #fff;
    outline: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.section .my_accounts .items .controls button:nth-last-child(1){
    background: #e7301f;
    color: #fff;
}

.section .my_accounts .items p{
    width: 300px;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #fff !important;
    text-transform: none !important;
}

.section .my_accounts .items p{
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #de1a08;
    letter-spacing: 1px;
}

.edit_user{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.edit_content{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.edit_content form input{
    padding: 4px 2px;
}

.edit_content form textarea{
    height: 100px !important;
}

.left_panel{
    width: 93%;
    height: 100vh;
    background: transparent;
    backdrop-filter: blur(2em);
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: left;
    overflow-y: scroll;
    padding: 16% 10px 10px 10px;
    position: fixed;
    top: 0;
    left: -100%;
    transition: .3s ease-in;
    z-index: 5;
}

.no_results{
    font-size: 12px;
    color: #e7301f;
    letter-spacing: 2px;
    font-weight: 600;
    font-style: italic;
    background: #f4f4f4;
    padding: 10px 0;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* WebKit Browsers (Chrome, Edge, Safari) */
.left_panel::-webkit-scrollbar {
    width: 6px; /* Set scrollbar width */
}

.left_panel::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* Scrollbar thumb color */
    border-radius: 3px; /* Rounded corners for thumb */
}

.left_panel::-webkit-scrollbar-thumb:hover {
    background-color: #ffe6e6; /* Darker color on hover */
}

.left_panel::-webkit-scrollbar-track {
    background: transparent; /* Transparent track */
}

.left_panel::-webkit-scrollbar-button {
    display: none; /* Hide the default up/down arrow buttons */
}

/* Firefox */
.left_panel {
    scrollbar-width: thin; /* Thin scrollbar */
    scrollbar-color: #ffd7d7 transparent; /* Thumb and track color */
}

.left_panel .items{
    width: 100%;
    background: #f4f4f4;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    margin: 4px 0;
    padding: 5px;
}

.left_panel .items p{
    font-size: 14px;
    color: #333;
    margin: 1px 0;
}

.left_panel .items .btns{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: start;
    margin: 2px 0;

}

.left_panel .items button{
    width: 20px !important;
    height: 20px !important;
    font-size: 11px;
    background: #fff;
    margin: 0 2px;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: .3s;
}

.left_panel .items button:hover{
    font-size: 11px;
}

.left_panel .items button:nth-child(2):hover{
    background: #de1a08;
    color: #fff;
}

.left_panel .closer{
    position: fixed;
    left: 0.5%;
    bottom: 2%;
    width: 20px;
    height: 20px;
    font-size: 13px;
    background: #fff;
    margin: 0 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: .3s;
}

.uploader{
    position: fixed;
    left: 0.5%;
    bottom: 2%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 13px;
    background: #fff;
    margin: 0 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: .3s;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 101vh;
    padding-top: 5%;
    background: url('imgs/building-5523630_1280.jpg') no-repeat center center;
    background-size: cover;
}

.inner{
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-info {
    background-color:#e7301f;
    color: white;
    padding: 50px 10px;
    background-color: rgba(255, 49, 49, 0.9);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    z-index: 2;
    position: absolute;
    left: -100%;
}

.contact-info h2 {
    margin-top: 0;
    text-transform: uppercase;
}

.contact-info span {
    display: inline-block; /* Ensures the span behaves like a block-level element for width/height */
    background: #fff; /* Sets the background color */
    width: 70px; /* Adjusts the width */
    height: 2px; /* Adjusts the height */
    border-radius: 2px; /* Adds rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Adds a shadow effect */
}

.contact-info p {
    margin: 15px 0;
    font-size: 14px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    text-decoration: none;
    color: white;
    margin-right: 15px;
    font-family: FontAwesome;
    font-size: 20px;
}

.contact-form {
    width: 70%;
    height: 90%;
    background-color: #ffffff;
    padding: 20px 10px 20px 5%;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.contact-form h2 {
    margin-top: 0;
    color: #f42222;
    text-transform: uppercase;
    padding-bottom: 5px;
}

form {
    width: 80%;
    height: 90%;
    display: flex;
    flex-direction: column;
}

.form-group {
    width: 100%;
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input, textarea {
    padding: 10px;
    border: 1px solid #f42222;
    border-radius: 2px;
    font-size: 14px;
    outline: none;
    width: 100%;
}

textarea {
    width: 100%; /* Ensures it takes full width of its container */
    height: 150px !important; /* Adjust the height as needed */
    resize: none; /* Prevent resizing */
    margin-bottom: 15px;
}

button {
    background-color: #f42222;
    color: white;
    border: 1px solid #f42222;
    text-transform: uppercase;
    padding: 15px 20px;
    font-size: 16px;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

button:hover {
    background-color: #fff;
    color: #f42222;
}

.gallery_container {
    position: relative;
    width: 100%;
    margin: auto;
    overflow-x: hidden;
    text-align: center;
}

.gallery {
    width: 100%;
    height: 100vh;
    display: flex;
    transition: transform 0.5s ease-in-out;
    transform: translateX(0);
}

.gallery img {
    min-width: 100%;
    height: 100%;
    display: none;
    object-fit: cover;
}

.gallery img.active {
    display: block;
}

.gallery-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
}

.gallery-button.prev {
    left: 10px;
}

.gallery-button.next {
    right: 10px;
}

.thumbnails {
    position: fixed;
    height: auto;
    padding: 5px;
    bottom: 0;
    margin: 20px auto;
    width: 100%;
    overflow-x: scroll;
    display: flex;
    justify-content: center;
}

/* For Webkit Browsers (Chrome, Edge, etc.) */
.thumbnails::-webkit-scrollbar {
    height: 8px; /* Horizontal scrollbar height */
    display: none;
}

.thumbnails::-webkit-scrollbar-track {
    background: #fff; /* Background of the scrollbar track */
    border-radius: 10px;
    display: none;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #ebebeb; /* Thumb color */
    border-radius: 10px;
    transition: background-color 0.3s ease;
    display: none;
}

.thumbnails::-webkit-scrollbar-thumb:hover {
    background: #fdf2f2; /* Thumb color on hover */
}

/* For Firefox */
.thumbnails {
    scrollbar-width: thin; /* Makes scrollbar thinner */
    scrollbar-color: #888 #444; /* Thumb color and track color */
}

/* Add hover effects for consistency with Webkit */
.thumbnails:hover {
    scrollbar-color: #aaa #444;
}


.thumbnail-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.thumbnail-scroll img {
    width: 80px;
    height: 60px;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.thumbnail-scroll img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.intro{
    width: 100%;
    height: 40vh;
    background: url('imgs/abstract-5533509_1920.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro .items{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px 5%;
    background: rgba(0, 0, 0, 0.9);
}

.intro .items h1{
    font-size: 4em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding-left: 3%;
}

.intro .items p{
    font-size: 20px;
    color: #e8e8e8;
}

.services{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5% 2% 5%;
    background: #333;
}

.services h1{
    color: #fff;
    font-size: 3em;
    padding-top: 20px;
    text-transform: uppercase;
    border-bottom: 3px solid #e7301f;
}

.services .items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 2%;
}

.services .items .blocks{
    width: 47%;
    min-width: 47%;
    height: 180px;
    margin: 5px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    background: #fff;
}

.services .items .blocks h2{
    color: #f42222;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-size: 16px;
}

.services .items .blocks p{
    font-size: 13px;
}

.about-us {
    padding: 7% 20px 20px 20px;
    background: url('imgs/building-5523630_1280.jpg') no-repeat center center;
    background-size: cover;
    color: #333;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us .container {
    max-width: 99%;
    margin: 0 auto;
    padding: 10px 20px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.about-us h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    letter-spacing: 3px;
    color: #de1a08;
    text-transform: uppercase;
}

.about-us h2 {
    color: #de1a08;
    margin-top: 20px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.about-content p{
    font-size: 14px;
}

.about-description,
.about-values {
    flex: 1;
    min-width: 300px;
}

.about-values ul {
    list-style: none;
    padding: 0;
}

.about-values ul li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
}

.about-values ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e7301f;
}

.the_images{
    width: 100%;
    height: 25vh;
    display: flex;
    flex-direction: column;
}

.the_images h1{
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    letter-spacing: 3px;
    color: #333;
    text-transform: uppercase;
    border-bottom: 2px solid #333;
}

.the_images .pics{
    width: 100%;
    height: auto;
    min-height: fit-content;
    display: flex;
    overflow-x: scroll;
    position: relative;
}

.the_images .pic_con{
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 5px;
    justify-content: center;
    margin: 5px;
    background: transparent;
    backdrop-filter: blur(5em);
    height: auto;
}

.the_images .pic_con button{
    width: 99%;
    padding: 5px;
    margin-top: 5px;
    font-size: 13px;
}

.the_images .pics img{
    width: 200px;
    min-height: 200px;
    height: 200px;
    border-radius: 4px;
    object-fit: cover;
}

@media (max-width: 768px){

    .about-content {
        flex-direction: column;
    }

    .logo_menu {
        padding: 10px;
    }

    .bubble-layer:nth-child(3) .links a{
        line-height: 40px;
        font-size: 1em;
        letter-spacing: 1px;
        padding-right: 3px;
        font-weight: 600;
        margin: 5px 0;
    }

    .bubble-layer:nth-child(3) .deco {
        margin-right: -50px;
        margin-bottom: -25%;
    }
    
    .bubble-layer:nth-child(3) .deco span {
        width: 150px;           /* Increased width for emphasis */
        margin-top: 90%;
    }
    
    .bubble-layer:nth-child(3) .deco p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    /* Side Panel */
    .side-panel {
        width: 8px;
        padding: 10px 4px;
    }

    .side-panel a {
        height: 30px;
        margin: 5px 0;
    }

    .content{
        padding: 0 3%;
    }

    .content h1{
        width: 95%;
        font-size: 1.2em;
        padding: 15px 15px 0 5px;
    }
    
    .content p{
        width: 95%;
        font-size: 12px;
        padding: 15px 15px 10px 5px;
    }
    
    .content h5 {
        width: 95%;
        font-size: 1em;
        padding: 15px 15px 10px 5px;
    }
    
    .content h2{
        width: 95%;
        font-size: 1em;
        padding: 15px 15px 10px 5px;
    }

    .section .my_accounts .items:nth-child(1) p{
        font-size: 10px !important;
        letter-spacing: 0;
    }

    .section .my_accounts .items p{
        font-size: 10px !important;
        margin: 0 5px;
    }
    
    .section .my_accounts .items p{
        font-size: 11px;
        letter-spacing: normal;
    }

    .section .my_accounts .items .controls button{
        width: 20px !important;
        height: 20px !important;
        padding: 2px !important;
        margin: 0 4px;
        font-size: 12px;
    }

    .section .login{
        padding-top: 15%;
    }

    .section .login form{
        width: 80%;
    }

    .section .blocks{
        width: 35%;
        min-width: 35% !important;
        padding: 35px 10px;
        margin: 0 10px;
    }
    
    .section .blocks i{
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .section .blocks p{
        font-size: 1em;
    }

    .intro{
        width: 100%;
        height: 45vh;
    }

    .intro .items{
        width: 80%;
    }
    
    .intro .items h1{
        font-size: 2em;
    }
    
    .intro .items p{
        font-size: 18px;
    }

    .services .items .blocks{
        width: 90%;
        min-width: 90%;
        height: auto;
        padding: 20px 10px;
    }
    
    .services .items .blocks h2{
        margin-bottom: 5px;
        letter-spacing: 1px;
    }
    
    .about-us h1 {
        margin-bottom: 15px;
        font-size: 2em;
    }
    
    .about-us h2 {
        margin-top: 10px;
        font-size: 18px;
    }
    
    .about-content {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .about-content p{
        font-size: 13px;
    }
    
    .about-description,
    .about-values {
        flex: 1;
        min-width: 300px;
        font-size: 13px;
    }

    .about-details p{
        font-size: 13px;
    }
    
    .about-details ul{
        font-size: 13px;
    }
    
    .about-values ul li {
        margin: 10px 0;
        padding-left: 20px;
        position: relative;
    }

    .contact{
        height: auto;
    }

    .inner{
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        height: auto !important;
    }

    .contact-info {
        padding: 20px 10px;
        position: unset;
        width: 95%;
        margin: 5px 0;
    }

    .form-group {
        width: 100%;
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
    }

    input, textarea {
        font-size: 13px;
        width: 100%;
    }

    .contact-form {
        width: 95%;
        padding: 20px 10px 20px 10px;
        align-items: start;
    }

    .contact-form form {
        width: 100%;
    }

    .section form{
        width: 98%;
    }
    
    .section form h1{
        font-size: 1.5m;
    }
    
    .section form p{
        font-size: 13px;
        margin-top: 5px;
    }
    
    .section form input{
        padding: 10px 4px;
    }
    
    .section form select{
        padding: 10px 4px;
    }
    
    .section form textarea{
        height: 130px;
        padding: 10px 4px;
    }
    
    .section form button{
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 12px;
    }

}

@media (max-width: 430px){

    .logo_menu {
        padding: 8px;
    }

    .logo_menu img {
        width: 100px;
        height: 50px;
    }

    .bubble-layer:nth-child(3) .deco {
        margin-right: -60px;
        margin-bottom: -50%;
    }
    
    .bubble-layer:nth-child(3) .deco span {
        width: 160px;           /* Increased width for emphasis */
        margin-top: 90%;
    }
    
    .bubble-layer:nth-child(3) .deco p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .section {
        align-items: last baseline;
        justify-content: center;
        padding-bottom: 10%;
    }
    
    .section {
        align-items: center;
    }

    .section .login form{
        width: 99%;
    }
    
    .section form h1{
        font-size: 1.5m;
    }
    
    .section form p{
        font-size: 13px;
        margin-top: 5px;
    }
    
    .section form input{
        padding: 10px 4px;
    }
    
    .section form select{
        padding: 10px 4px;
    }
    
    .section form textarea{
        height: 130px;
        padding: 10px 4px;
    }
    
    .section form button{
        margin-top: 15px;
        padding: 10px 20px;
        font-size: 12px;
    }

    #coal{
        padding-top: 25%;
    }

    .section .login .items button{
        font-size: 12px;
        padding: 10px;
    }

    .section .blocks{
        width: 95%;;
        padding: 35px 10px;
        margin: 5px 0;
    }
    
    .section .blocks i{
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    .section .blocks p{
        font-size: 1em;
    }

    .content{
        position: absolute;
        padding: 0 3%;
        bottom: 6%;
        left: 0;
    }

    .content h1{
        width: 100%;
        font-size: 2.1em;
        letter-spacing: 0;
        padding: 5px 10px 5px 4px;
    }
    
    .content p{
        width: 100%;
        font-size: 12px !important;
        letter-spacing: 0;
        padding: 10px 10px 10px 4px;
    }
    
    .content h5 {
        width: 100%;
        font-size: 2em;
        letter-spacing: 1px;
        padding: 10px 10px 10px 4px;
    }
    
    .content h2{
        width: 100%;
        font-size: 2.1em;
        letter-spacing: 1px;
        padding: 10px 15px 10px 5px;
    }

    input, textarea {
        font-size: 12px;
        padding: 8px;
    }

    textarea {
        height: 100px;
    }

    button {
        font-size: 14px;
        padding: 8px 15px;
    }

    .social-icons a {
        font-size: 18px;
        margin-right: 10px;
    }

    .intro{
        width: 100%;
        height: 30vh;
    }

    .intro .items{
        width: 90%;
    }
    
    .intro .items h1{
        font-size: 1em;
    }
    
    .intro .items p{
        font-size: 14px;
    }

    .services{
        padding: 0 1% 2% 1%;
    }
    
    .services h1{
        font-size: 2em;
        padding-top: 20px;
    }

    .services .items .blocks{
        width: 99%;
        min-width: 99%;
    }
    
    .services .items .blocks h2{
        margin-bottom: 5px;
        letter-spacing: 1px;
    }

    .about-us {
        padding: 15% 0 20px 0;
    }

    .about-us .container{
        width: 99%;
    }

        
    .section form h1{
        font-size: 15px;
    }

    .left_panel{
        width: 99%;
        padding: 20% 10px 10px 0;
    }

    .left_panel .items p{
        font-size: 11px;
    }

    .section .my_accounts .items{
        width: 99%;
        border-radius: 4px;
        padding: 6px 1px;
    }

    .section .my_accounts .items:nth-child(1) p{
        font-size: 9px !important;
        letter-spacing: 0;
        width: 100%;
    }

    .section .my_accounts .items p{
        font-size: 9px !important;
        margin: 0 3px;
        width: 100%;
    }

    .section .my_accounts .items .controls button{
        width: 20px !important;
        height: 20px !important;
        padding: 2px !important;
        margin: 0 1px;
        font-size: 12px;
    }

}
