* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #000000;
    font-family: 'Javanese Text', serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    color: #FFFFFF;
}
.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #000000;
}
.header {
    display: flex;
    align-items: center;
    position: absolute;
    top: 24px;
    z-index: 10;
}
.logo {
    height: 80px;
    margin-right: 15px;
}
.background-image {
    position: absolute;
    width: 118.96px;
    height: 265.47px;
    left: calc(50% + 150px);
    top: -45.45px;
    background: url('cb15528b-68a7-47ae-869f-66a236469371.jpg');
    background-size: cover;
}
.afkar-design {
    font-family: 'Javanese Text', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 109px;
    color: #FFFFFF;
}
.welcome-text {
    position: absolute;
    width: 274px;
    height: 132px;
    left: calc(50% - 274px/2 - 692px);
    top: 198px;
    font-family: 'Julius Sans One', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 44px;
    color: #FFFFFF;
}
.frame-21 {
    position: absolute;
    width: 96px;
    height: 1106px;
    right: 0;
    top: 0px;
    z-index: 100;
    transition: width 0.3s ease;
    overflow: hidden;
}

.frame-21.expanded {
    width: calc(15% + 96px);
}

.rectangle-208 {
    position: absolute;
    width: 100%;
    height: 1106px;
    left: 0px;
    top: 0px;
    background: #000000;
}

/* Sidebar item container */
.sidebar-item {
    position: relative;
    width: 100%;
}

.group-151 {
    position: absolute;
    width: 28px;
    height: 22px;
    left: 34px;
    top: 50px;
    cursor: pointer;
    z-index: 10;
}

.rectangle-166 {
    position: absolute;
    width: 28px;
    height: 6px;
    left: 0;
    top: 0;
    background: #D9D9D9;
    border-radius: 4px;
}

.rectangle-167 {
    position: absolute;
    width: 28px;
    height: 6px;
    left: 0;
    top: 8px;
    background: #D9D9D9;
    border-radius: 4px;
}

.rectangle-168 {
    position: absolute;
    width: 28px;
    height: 6px;
    left: 0;
    top: 16px;
    background: #D9D9D9;
    border-radius: 4px;
}

.i-text {
    position: absolute;
    width: 11px;
    height: 74px;
    left: 43px;
    top: 165px;
    font-family: 'Island Moments', cursive;
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 74px;
    color: #FFFFFF;
    opacity: 0.5;
    cursor: pointer;
    z-index: 10;
}

.group-154 {
    position: absolute;
    width: 26px;
    height: 26px;
    left: 35px;
    top: 262px;
    opacity: 0.5;
    cursor: pointer;
    z-index: 10;
}

.rectangle-175 {
    box-sizing: border-box;
    position: absolute;
    width: 26px;
    height: 26px;
    left: 0;
    top: 0;
    border: 1px solid #FFFFFF;
    border-radius: 7px;
}

.line-15 {
    position: absolute;
    width: 26px;
    height: 0px;
    left: 0;
    top: 13px;
    border: 1px solid #FFFFFF;
}

.line-16 {
    position: absolute;
    width: 13px;
    height: 0px;
    left: 9.62px;
    top: 13px;
    border: 1px solid #FFFFFF;
    transform: rotate(-90deg);
}

.group-157 {
    position: absolute;
    width: 23.09px;
    height: 19.85px;
    left: 36.95px;
    top: 357.4px;
    opacity: 0.5;
    cursor: pointer;
    z-index: 10;
}

.group {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.vector-1 {
    position: absolute;
    left: 41.08%;
    right: 55.06%;
    top: 32.42%;
    bottom: 66.7%;
    background: #FFFFFF;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.vector-2 {
    position: absolute;
    left: 40.92%;
    right: 54.75%;
    top: 32.37%;
    bottom: 66.68%;
    background: #FFFFFF;
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.vector-3 {
    position: absolute;
    left: 1%;
    right: 37.45%;
    top: 32.31%;
    bottom: 65.89%;
    background: #FFFFFF;
    width: 24px;
    height: 20px;
    border: 1px solid #FFFFFF;
    border-radius: 50%;
}

/* Expanded Sidebar Styles */
.sidebar-content {
    position: absolute;
    left: 96px;
    width: calc(15vw - 20px);
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    padding-right: 20px;
}

/* Position each sidebar content next to its corresponding icon */
.sidebar-content[data-for="menu"] {
    top: 60px; /* Aligned with menu icon */
}

.sidebar-content[data-for="info"] {
    top: 195px; /* Aligned with i icon */
}

.sidebar-content[data-for="grid"] {
    top: 267px; /* Aligned with grid icon */
}

.sidebar-content[data-for="settings"] {
    top: 365px; /* Aligned with settings icon */
}

.frame-21.expanded .sidebar-content {
    opacity: 1;
    transform: translateX(0);
    display: block;
}

.sidebar-title {
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.sidebar-text {
    color: #D9D9D9;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

/* Add delay to each sidebar content for staggered animation */
.sidebar-content[data-for="menu"] {
    transition-delay: 0.1s;
}

.sidebar-content[data-for="info"] {
    transition-delay: 0.2s;
}

.sidebar-content[data-for="grid"] {
    transition-delay: 0.3s;
}

.sidebar-content[data-for="settings"] {
    transition-delay: 0.4s;
}

.component-37 {
    position: absolute;
    width: 1267px;
    height: 865px;
    left: 400px;
    top: 188px;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
#slide1 {
    transform: translateX(0);
}
#slide2 {
    transform: translateX(100%);
}
#slide3 {
    transform: translateX(200%);
}
.group-175 {
    position: absolute;
    width: 1253px;
    height: 843px;
    left: 0px;
    top: 0px;
}
.group-169 {
    position: absolute;
    width: 1253px;
    height: 843px;
    left: 0px;
    top: 0px;
}
.mask-group {
    position: absolute;
    width: 1253px;
    height: 843px;
    left: calc(50% - 1253px/2 - 7px);
    top: calc(50% - 843px/2 - 11px);
    overflow: hidden;
    border-radius: 31px;
}
.rectangle-164 {
    position: absolute;
    width: 1253px;
    height: 843px;
    right: -10px;
    top: 0px;
    background: #000000;
    border-radius: 31px;
}
.loft-home-office {
    position: absolute;
    width: 1300px;
    height: 843px;
    left: 0px;
    top: 0px;
    background: url('loft-home-office-interior-design.png');
    background-size: cover;
    border-radius: 31px;
}
.slide-title {
    position: absolute;
    width: 1068.07px;
    height: 100px;
    left: 91.97px;
    top: 380px;
    font-family: 'Julius Sans One', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 46px;
    line-height: 50px;
    text-align: center;
    color: #FFFFFF;
    z-index: 5;
}
.group-152 {
    position: absolute;
    width: 30.04px;
    height: 9px;
    left: 611.17px;
    top: 816px;
    display: flex;
    gap: 2px;
}
.ellipse-39, .ellipse-40, .ellipse-41 {
    position: relative;
    width: 8.9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(38, 38, 38, 0.7);
}
.ellipse-39.active, .ellipse-40.active, .ellipse-41.active {
    background: #262626;
}
.group-176 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
}
.group-171 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
}
.rectangle-218 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
    background: #000000;
    border-radius: 31px;
}
.cozy-bedtime {
    position: absolute;
    width: 1330px;
    height: 887px;
    left: -20px;
    top: -22px;
    background: url('cozy-bedtime-concept.png');
    background-size: cover;
    border-radius: 31px;
}
.group-173 {
    position: absolute;
    width: 30.38px;
    height: 9px;
    left: 611.17px;
    top: 816px;
    display: flex;
    gap: 2px;
}
.group-177 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
}
.group-172 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
}
.rectangle-220 {
    position: absolute;
    width: 1267px;
    height: 843px;
    left: 0;
    top: 0;
    background: #000000;
    border-radius: 31px;
}
.interior-design-kitchen {
    position: absolute;
    width: 1373px;
    height: 916px;
    left: -0px;
    top: -53px;
    background: url('interior-design-house-modern-white-kitchen.png');
    background-size: cover;
    border-radius: 31px;
}
.group-174 {
    position: absolute;
    width: 30.38px;
    height: 9px;
    left: 611.17px;
    top: 816px;
    display: flex;
    gap: 2px;
}
.nav-left, .nav-right {
    display: none;
    position: absolute;
    width: 71.05px;
    height: 71.05px;
    top: 375px;
    cursor: pointer;
    z-index: 10;
}
.nav-left {
    left: 0;
    display: none;

}
.nav-right {
    display: none;

    position: absolute;
    width: 71.05px;
    height: 71.05px;
    top: 45%;
    right: 20px;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.ellipse-2 {
    position: absolute;
    width: 61.03px;
    height: 61.03px;
    left: 5px;
    top: 5px;
    background: rgba(38, 38, 38, 0.6);
    border-radius: 50%;
}
.union {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 24px;
    top: 24px;
    background: #D9D9D9;
    border-radius: 4px;
    transform: rotate(135deg);
}
.rectangle-177 {
    position: absolute;
    width: 5px;
    height: 24px;
    left: 46.51px;
    top: 24px;
    background: #D9D9D9;
    transform: rotate(135deg);
}
.rectangle-178 {
    position: absolute;
    width: 5px;
    height: 24px;
    left: 29.54px;
    top: 14px;
    background: #D9D9D9;
    transform: rotate(-135deg);
}
.group-153 {
    position: absolute;
    width: 253px;
    height: 78px;
    left: 40px;
    top: 950px;
    cursor: pointer;
    z-index: 10;
}
.view-all {
    position: absolute;
    width: 117px;
    height: 39px;
    left: 68px;
    top: 20px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    z-index: 11;
}
.rectangle-174 {
    box-sizing: border-box;
    position: absolute;
    width: 253px;
    height: 78px;
    left: 0;
    top: 0;
    border: 1px solid #DCDCDC;
    border-radius: 9px;
    z-index: 10;
}
.rectangle-176 {
    position: absolute;
    width: 80%;
    height: 3px;
    left: 10%;
    top: 1128px;
    background: #D5D5D5;
    border-radius: 11px;
    transform: matrix(1, 0, 0, -1, 0, 0);
}
.about-us {
    position: absolute;
    width: 195px;
    height: 58px;
    left: 77px;
    top: 1126px;
    font-family: 'Inria Serif', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 45px;
    line-height: 58px;
    color: #FFFFFF;
}
.line-17 {
    position: absolute;
    width: 404px;
    height: 0px;
    left: 67px;
    top: 1202px;
    border: 1px solid #FFFFFF;
}
.component-38 {
    position: absolute;
    width: 1800px;
    height: 920px;
    left: 115px;
    top: 1202px;
}
.about-text-1 {
    position: absolute;
    width: 816px;
    height: 278px;
    left: 0px;
    top: 50px;
    font-family: 'Inria Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    color: #FFFFFF;
}
.about-text-2 {
    position: absolute;
    width: 816px;
    height: 300px;
    left: 0px;
    top: 350px;
    font-family: 'Inria Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    color: #FFFFFF;
}
.mask-group-about {
    position: absolute;
    width: 528.16px;
    height: 600px;
    left: 450px;

}
.rectangle-194 {
    position: absolute;
    width: 528.16px;
    height: 600px;
    left: 500px;
    top: 50px;
    background: #D9D9D9;
    border-radius: 20px;
}
.about-image {
    position: absolute;
    width: 528.16px;
    height: 700px;
    left: 500px;
    top: 50px;
    background: url('elegant-interior-design-workspace.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}
.component-38 {
    height: 2100px;
    margin-left: 50px;
}
.additional-content-container {
    position: absolute;
    width: 90%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    top: 2100px;
    display: flex;
    justify-content: center;
    gap: 60px;
}
.additional-text-container {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.about-text-3 {
    width: 100%;
    font-family: 'Inria Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    margin-left: 100px;
    color: #FFFFFF;
}
.about-text-4 {
    width: 100%;
    font-family: 'Inria Serif';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    color: #FFFFFF;
    margin-top: 40px;
    margin-left: 100px;
}
.mask-group-about-2 {
    width: 500px;
    height: 700px;
    position: relative;
    right: 80px;
}
.rectangle-197 {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background: #D9D9D9;
    border-radius: 20px;
}
.about-image-2 {
    position: absolute;
    width: 500px;
    height: 700px;
    left: 0;
    top: 0;
    background: url('about-2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
}
.main-footer {
    position: relative;
    width: 100%;
    background: #000000;
    padding: 35px 0;
    margin-top: 2200px;
    box-shadow: 0 -10px 20px rgba(217, 217, 217, 0.5);
}
.main-footer::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, #D9D9D9, transparent);
    pointer-events: none;
}
.footer-content {
    max-width: 1729px;
    margin: 0 auto;
    padding: 0 28px;
}
.copyright-section {
    margin-bottom: 25px;
}
.copyright-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    color: #FFFFFF;
    margin-bottom: 15px;
}
.copyright-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    color: #FFFFFF;
    max-width: 1460px;
}
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.social-links {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    width: 100%;
}
.social-group-left {
    display: flex;
    gap: 28px;
}
.social-group-right {
    display: flex;
    gap: 28px;
}
.social-button {
    box-sizing: border-box;
    width: 220px;
    height: 65px;
    border: 3px solid #FFFFFF;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 20px;
    margin-bottom: -300px;
}
.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.social-button span {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 26px;
    color: #FFFFFF;
    text-align: center;
}
.integital-logo {
    margin-top: 25px;
    text-align: center;
}
.integital-image {
    max-width: 200px;
    height: auto;
}
/* Base styles remain as they are in your original CSS */

/* Media Queries for Different Screen Sizes */

/* Large Desktop (1920px and above) */
@media screen and (min-width: 1920px) {
    /* Header */
    .header {
        top: 30px;
    }

    .logo {
        height: 90px;
    }

    .afkar-design {
        font-size: 54px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 750px);
        top: 220px;
        font-size: 44px;
    }

    /* Carousel */
    .component-37 {
        width: 1400px;
        height: 950px;
        left: 450px;
    }

    /* About Us Section */
    .about-us {
        left: 100px;
        top: 1180px;
        font-size: 48px;
    }

    .line-17 {
        width: 450px;
        left: 90px;
        top: 1260px;
    }

    .component-38 {
        left: 150px;
        top: 1300px;
    }

    .additional-content-container {
        top: 2200px;
        max-width: 1600px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2300px;
    }

    .nav-right {
        width: 80px;
        height: 80px;
        right: 140px;
    }

    .ellipse-2 {
        width: 70px;
        height: 70px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    /* Header */
    .header {
        top: 24px;
    }
    .logo {
        height: 80px;
    }
    .afkar-design {
        font-size: 48px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 550px);
        top: 198px;
        font-size: 40px;
    }

    /* Carousel - UPDATED */
    .component-37 {
        width: 1100px;
        height: 750px;
        left: 350px;
    }

    /* Carousel Images - ADDED */
    .slide {
        width: 1100px;
        height: 750px;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Carousel Navigation - ADJUSTED */
    .group-152, .group-173, .group-174 {
        top: 700px;
        left: 535px;
    }

    .nav-right {
        width: 71.05px;
        height: 71.05px;
        right: 50px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-left {
        width: 71.05px;
        height: 71.05px;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* About Us Section */
    .mask-group-about {
        position: absolute;
        width: 528.16px;
        height: 600px;
        left: 148px;
        top: 50px;
    }

    .loft-home-office {
        position: absolute;
        width: 1100px;
        height: 750px;
        left: -30px;
      top: 25px;
        background: url('loft-home-office-interior-design.png');
        background-size: cover;

    }
    .cozy-bedtime {
        position: absolute;
        width: 1100px;
        height: 750px;
        left: -30px;
      top: 25px;
        background: url('cozy-bedtime-concept.png');
        background-size: cover;
    }
    .interior-design-kitchen {
        position: absolute;
        width: 1100px;
        height: 750px;
        left: -30px;
      top: 25px;
        background: url('interior-design-house-modern-white-kitchen.png');
        background-size: cover;
    }
    .about-text-1 {
        position: absolute;
        width: 600px;
        height: 278px;
        left: 0px;
        top: 100px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 43px;
        color: #FFFFFF;
    }

    .about-text-2 {
        position: absolute;
        width: 600px;
        height: 272px;
        left: 0px;
        top: 418px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 43px;
        color: #FFFFFF;
    }

    .about-text-3 {
        position: absolute;
        width: 600px;
        height: 278px;
        right: 0px;
        top: 100px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 43px;
        color: #FFFFFF;
    }

    .about-text-4 {
        position: absolute;
        width: 600px;
        height: 272px;
        right: 0px;
        top: 418px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 30px;
        line-height: 43px;
        color: #FFFFFF;
    }

    .about-us {
        left: 77px;
        top: 1026px; /* Adjusted for smaller carousel */
    }


    .line-17 {
        width: 404px;
        left: 67px;
        top: 1102px; /* Adjusted for smaller carousel */
    }

    .component-38 {
        left: 115px;
        top: 1102px; /* Adjusted for smaller carousel */
    }

    .additional-content-container {
        top: 2000px; /* Adjusted for smaller carousel */
        max-width: 1400px;
    }

    .mask-group-about-2 {
        width: 500px;
        height: 250px;
        position: relative;
        right: -45px;
        top: 100px;
    }

   .about-image-2{
    width: 500px;
        height: 600px;
   }

    /* Footer */
    .main-footer {
        margin-top: 2100px; /* Adjusted for smaller carousel */
    }
}

/* Small Desktop (1280px to 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    /* Header */
    .header {
        top: 20px;
    }

    .logo {
        height: 70px;
    }

    .afkar-design {
        font-size: 42px;
        line-height: 90px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 450px);
        top: 180px;
        font-size: 36px;
    }

    /* Carousel */
    .component-37 {
        width: 1100px;
        height: 750px;
        left: 350px;
    }

    .group-152, .group-173, .group-174 {
        top: 710px;
    }

    .nav-left, .nav-right {
        top: 340px;
    }

    .nav-right {
        width: 65px;
        height: 65px;
        right: 20px;
    }

    .ellipse-2 {
        width: 55px;
        height: 55px;
    }

    /* View All Button */
    .group-153 {
        top: 850px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 1000px;
    }

    /* About Us Section */
    .about-us {
        left: 70px;
        top: 1000px;
        font-size: 44px;
    }

    .line-17 {
        width: 380px;
        left: 60px;
        top: 1070px;
    }

    .component-38 {
        left: 100px;
        top: 1100px;
        height: 1900px;
    }

    .about-text-1, .about-text-2 {
        width: 700px;
        font-size: 32px;
        line-height: 40px;
    }

    .mask-group-about {
        width: 480px;
        height: 550px;
        left: 450px;
    }

    .additional-content-container {
        top: 1900px;
        max-width: 1200px;
    }

    .about-text-3, .about-text-4 {
        font-size: 32px;
        line-height: 40px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2000px;
    }

    .copyright-title {
        font-size: 28px;
    }

    .copyright-text {
        font-size: 16px;
    }

    .social-button {
        width: 200px;
        height: 60px;
    }

    .social-button span {
        font-size: 20px;
    }
}

/* Large Laptop (1024px to 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    /* Header */
    .header {
        top: 18px;
    }

    .logo {
        height: 60px;
        margin-right: 10px;
    }

    .afkar-design {
        font-size: 38px;
        line-height: 80px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 350px);
        top: 160px;
        font-size: 32px;
        line-height: 38px;
    }

    /* Sidebar */
    .frame-21 {
        width: 80px;
        margin-left: 17px;
    }

    .rectangle-208 {
        width: 80px;
        height: 200px;
    }

    /* .group-151, .i-text, .group-154, .group-157 {
        left: calc(50% - 14px);
    } */

    /* Carousel */
    .component-37 {
        width: 676px;
        height: 620px;
        left: 280px;
        top: 160px;
    }

    .loft-home-office {
        position: absolute;
        width: 750px;
        height: 620px;
        left: -90px;
      top: 25px;
        background: url('loft-home-office-interior-design.png');
        background-size: cover;

    }
    .cozy-bedtime {
        position: absolute;
        width: 750px;
        height: 620px;
        left: -90px;
      top: 25px;
        background: url('cozy-bedtime-concept.png');
        background-size: cover;
    }
    .interior-design-kitchen {
        position: absolute;
        width: 750px;
        height: 620px;
        left: -90px;
      top: 25px;
        background: url('interior-design-house-modern-white-kitchen.png');
        background-size: cover;
    }

    .group-152, .group-173, .group-174 {
        top: 580px;
        left: 435px;
    }

    .nav-left, .nav-right {
        top: 280px;
        width: 60px;
        height: 60px;
    }

    .nav-right {
        width: 60px;
        height: 60px;
        right: 15px;
        top: 50%;
    }

    .ellipse-2 {
        width: 50px;
        height: 50px;
    }

    /* View All Button */
    .group-153 {
        top: 700px;
        width: 220px;
        height: 70px;
    }

    .view-all {
        font-size: 28px;
        left: 60px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 850px;
    }

    .rectangle-174 {
        box-sizing: border-box;
        position: absolute;
        width: 224px;
        height: 78px;
        left: 0;
        top: 0;
        border: 1px solid #DCDCDC;
        border-radius: 9px;
        z-index: 10;
    }

    /* About Us Section */
    .about-us {
        left: 60px;
        top: 850px;
        font-size: 40px;
        line-height: 50px;
    }

    .line-17 {
        width: 350px;
        left: 50px;
        top: 920px;
    }

    .component-38 {
        left: 80px;
        top: 950px;
        height: 1700px;
    }



    .about-text-1, .about-text-2 {
        width: 450px;
        font-size: 25px;
        line-height: 36px;
        top: 19px;
    }

    .about-text-3, .about-text-4 {
        width: 450px;
        font-size: 25px;
        line-height: 36px;
        top: 19px;
        margin-left: 20px;
    }

    .about-text-2 {
        top: 320px;
    }

    .mask-group-about {
        width: 400px;
        height: 500px;
        left: 60px;
    }

    .rectangle-194, .about-image {
        width: 400px;
        height: 500px;
        left: 400px;
        margin-top: 17px;

    }

    .mask-group-about-2 {
        height: 472px;
        margin-left: 142px;
        margin-top: 45px;
    }

    .about-image-2 {
        position: absolute;
        width: 400px;
        height: 600px;
        left: 0;
        top: 0;
        background: url('DALL·E 2025-01-28 12.28.10 - A picturesque design studio based in Lebanon showcasing innovative interiors. The image features two contrasting spaces_ a cozy, modern residential li.png');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
    }

    .additional-content-container {
        top: 1650px;
        max-width: 900px;
        gap: 40px;
    }


    /* Footer */
    .main-footer {
        position: absolute;
        margin-top: 1750px;
        padding: 30px 0;
        height: 346px;
    }

    .copyright-title {
        font-size: 26px;
        line-height: 36px;
    }

    .copyright-text {
        font-size: 15px;
        line-height: 24px;
    }

    .social-button {
        width: 180px;
        height: 55px;
    }

    .social-button span {
        font-size: 18px;
    }

    .social-group-left, .social-group-right {
        gap: 20px;
    }
    .social-links {
        position: absolute;
        display: flex
    ;
        justify-content: space-between;
        margin-top: 65px;
        width: 100%;
    }

    .integital-logo {
        position: absolute;
        margin-top: 58px;
        text-align: center;
    }
}

/* Medium Laptop (900px to 1023px) */
@media screen and (min-width: 900px) and (max-width: 1023px) {
    /* Header */
    .header {
        top: 15px;
    }

    .logo {
        height: 55px;
        margin-right: 8px;
    }

    .afkar-design {
        font-size: 34px;
        line-height: 70px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 300px);
        top: 150px;
        font-size: 30px;
        line-height: 36px;
        width: 240px;
    }

    /* Sidebar */
    .frame-21 {
        width: 70px;
    }

    .rectangle-208 {
        width: 70px;
    }

    .group-151, .i-text, .group-154, .group-157 {
        left: calc(50% - 14px);
        transform: scale(0.9);
    }

    /* Carousel */
    .component-37 {
        width: 800px;
        height: 550px;
        left: 240px;
        top: 150px;
    }

    .group-152, .group-173, .group-174 {
        top: 520px;
        left: 385px;
    }

    .nav-left, .nav-right {
        top: 250px;
        width: 55px;
        height: 55px;
    }

    .nav-right {
        width: 55px;
        height: 55px;
        right: 12px;
    }

    .ellipse-2 {
        width: 45px;
        height: 45px;
    }

    /* View All Button */
    .group-153 {
        top: 650px;
        width: 200px;
        height: 65px;
    }

    .view-all {
        font-size: 26px;
        left: 55px;
        top: 18px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 780px;
    }

    /* About Us Section */
    .about-us {
        left: 55px;
        top: 780px;
        font-size: 36px;
        line-height: 46px;
    }

    .line-17 {
        width: 320px;
        left: 45px;
        top: 840px;
    }

    .component-38 {
        left: 70px;
        top: 870px;
        height: 1600px;
    }

    .about-text-1, .about-text-2 {
        width: 520px;
        font-size: 26px;
        line-height: 34px;
    }

    .about-text-2 {
        top: 300px;
    }

    .mask-group-about {
        width: 350px;
        height: 450px;
        left: 350px;
    }

    .rectangle-194, .about-image {
        width: 350px;
        height: 450px;
        left: 350px;
    }

    .additional-content-container {
        top: 1550px;
        max-width: 800px;
        gap: 35px;
    }

    .about-text-3, .about-text-4 {
        font-size: 26px;
        line-height: 34px;
    }

    .mask-group-about-2 {
        height: 450px;
    }

    /* Footer */
    .main-footer {
        margin-top: 1650px;
        padding: 25px 0;
    }

    .copyright-title {
        font-size: 24px;
        line-height: 32px;
    }

    .copyright-text {
        font-size: 14px;
        line-height: 22px;
    }

    .social-button {
        width: 160px;
        height: 50px;
    }

    .social-button span {
        font-size: 16px;
    }

    .social-group-left, .social-group-right {
        gap: 15px;
    }
}

/* Small Laptop (768px to 899px) */
@media screen and (min-width: 768px) and (max-width: 899px) {
    /* Header */
    .header {
        top: 12px;
    }

    .logo {
        height: 50px;
        margin-right: 6px;
    }

    .afkar-design {
        font-size: 30px;
        line-height: 60px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 220px/2 - 250px);
        top: 140px;
        font-size: 28px;
        line-height: 34px;
        width: 220px;
    }

    /* Sidebar */
     .frame-21 {
        width: 60px;
    }

    .rectangle-208 {
        width: 60px;
    }

    .group-151, .i-text, .group-154, .group-157 {
        left: calc(50% - 14px);
        transform: scale(0.85);
    }

    .group-151 {
        top: 45px;
    }

    .i-text {
        top: 160px;
    }


    .group-154 {
        top: 250px;
    }

    .group-157 {
        top: 340px;
    }

    /* Carousel */
    .component-37 {
        width: 700px;
        height: 480px;
        left: 200px;
        top: 140px;
    }

    .group-152, .group-173, .group-174 {
        top: 450px;
        left: 335px;
    }

    .nav-left, .nav-right {
        top: 220px;
        width: 50px;
        height: 50px;
    }

    .nav-right {
        width: 50px;
        height: 50px;
        right: 10px;
    }

    .ellipse-2 {
        width: 40px;
        height: 40px;
    }

    .union {
        width: 20px;
        height: 20px;
        left: 15px;
        top: 15px;
    }

    .rectangle-177, .rectangle-178 {
        width: 4px;
        height: 20px;
    }

    /* View All Button */
    .group-153 {
        top: 580px;
        width: 180px;
        height: 60px;
        left: 30px;
    }

    .view-all {
        font-size: 24px;
        left: 50px;
        top: 16px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 700px;
    }

    /* About Us Section */
    .about-us {
        left: 50px;
        top: 700px;
        font-size: 34px;
        line-height: 42px;
    }

    .line-17 {
        width: 300px;
        left: 40px;
        top: 760px;
    }

    .component-38 {
        left: 60px;
        top: 790px;
        height: 1500px;
    }

    .about-text-1, .about-text-2 {
        width: 450px;
        font-size: 24px;
        line-height: 32px;
    }

    .about-text-2 {
        top: 280px;
    }

    .mask-group-about {
        width: 300px;
        height: 400px;
        left: 320px;
        top: 40px;
    }

    .rectangle-194, .about-image {
        width: 300px;
        height: 400px;
        left: 320px;
    }

    .additional-content-container {
        top: 1400px;
        max-width: 700px;
        gap: 30px;
    }

    .about-text-3, .about-text-4 {
        font-size: 24px;
        line-height: 32px;
    }

    .about-text-4 {
        margin-top: 30px;
    }

    .mask-group-about-2 {
        height: 400px;
    }

    /* Footer */
    .main-footer {
        margin-top: 1500px;
        padding: 20px 0;
    }

    .copyright-title {
        font-size: 22px;
        line-height: 30px;
    }

    .copyright-text {
        font-size: 13px;
        line-height: 20px;
    }

    .social-button {
        width: 150px;
        height: 45px;
        border-width: 2px;
        border-radius: 15px;
    }

    .social-button span {
        font-size: 15px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .social-group-left, .social-group-right {
        gap: 12px;
    }

    .integital-image {
        max-width: 180px;
    }
}

/* Additional Media Queries for Edge Cases */

/* Extra Large Desktop (2560px and above) */
@media screen and (min-width: 2560px) {
    /* Header */
    .header {
        top: 40px;
    }

    .logo {
        height: 100px;
    }

    .afkar-design {
        font-size: 60px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 300px/2 - 900px);
        top: 250px;
        font-size: 48px;
        line-height: 52px;
        width: 300px;
    }

    /* Carousel */
    .component-37 {
        width: 1600px;
        height: 1080px;
        left: 550px;
        top: 220px;
    }

    .group-152, .group-173, .group-174 {
        top: 1030px;
        left: 785px;
        transform: scale(1.2);
    }

    .nav-left, .nav-right {
        top: 500px;
        width: 90px;
        height: 90px;
    }

    .ellipse-2 {
        width: 80px;
        height: 80px;
    }

    .union {
        width: 30px;
        height: 30px;
        left: 30px;
        top: 30px;
    }

    .rectangle-177, .rectangle-178 {
        width: 6px;
        height: 30px;
    }

    /* View All Button */
    .group-153 {
        top: 1150px;
        width: 300px;
        height: 90px;
        left: 60px;
    }

    .view-all {
        font-size: 38px;
        left: 80px;
        top: 25px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 1350px;
        height: 5px;
    }

    /* About Us Section */
    .about-us {
        left: 120px;
        top: 1350px;
        font-size: 60px;
        line-height: 70px;
    }

    .line-17 {
        width: 500px;
        left: 110px;
        top: 1440px;
        border-width: 2px;
    }

    .component-38 {
        left: 180px;
        top: 1480px;
        height: 2400px;
    }

    .about-text-1, .about-text-2 {
        width: 900px;
        font-size: 42px;
        line-height: 52px;
    }

    .about-text-2 {
        top: 400px;
    }

    .mask-group-about {
        width: 650px;
        height: 750px;
        left: 600px;
        top: 50px;
    }

    .rectangle-194, .about-image {
        width: 650px;
        height: 750px;
        left: 600px;
    }

    .additional-content-container {
        top: 2500px;
        max-width: 1800px;
        gap: 80px;
    }

    .about-text-3, .about-text-4 {
        font-size: 42px;
        line-height: 52px;
    }

    .about-text-4 {
        margin-top: 50px;
    }

    .mask-group-about-2 {
        height: 750px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2600px;
        padding: 50px 0;
    }

    .copyright-title {
        font-size: 38px;
        line-height: 48px;
        margin-bottom: 20px;
    }

    .copyright-text {
        font-size: 22px;
        line-height: 32px;
    }

    .social-button {
        width: 280px;
        height: 80px;
        border-width: 4px;
        border-radius: 25px;
    }

    .social-button span {
        font-size: 26px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .social-group-left, .social-group-right {
        gap: 40px;
    }

    .integital-image {
        max-width: 250px;
    }
}

/* Specific Adjustments for 1366px Width (Common Laptop Size) */
@media screen and (width: 1366px) {
    /* Header */
    .header {
        top: 20px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 480px);
    }

    /* Carousel */
    .component-37 {
        width: 1150px;
        height: 780px;
        left: 370px;
    }

    .group-152, .group-173, .group-174 {
        top: 740px;
        left: 560px;
    }

    /* View All Button */
    .group-153 {
        top: 880px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 1030px;
    }

    /* About Us Section */
    .about-us {
        top: 1030px;
    }

    .line-17 {
        top: 1100px;
    }

    .component-38 {
        top: 1130px;
    }

    .additional-content-container {
        top: 1950px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2050px;
    }
}

/* Specific Adjustments for 1600px Width */
@media screen and (width: 1600px) {
    /* Header */
    .header {
        top: 25px;
    }

    .logo {
        height: 85px;
    }

    .afkar-design {
        font-size: 50px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 620px);
        top: 210px;
        font-size: 42px;
    }

    /* Carousel */
    .component-37 {
        width: 1350px;
        height: 900px;
        left: 420px;
        top: 200px;
    }

    .group-152, .group-173, .group-174 {
        top: 860px;
        left: 660px;
    }

    /* View All Button */
    .group-153 {
        top: 1020px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        top: 1180px;
    }

    /* About Us Section */
    .about-us {
        left: 90px;
        top: 1180px;
        font-size: 50px;
    }

    .line-17 {
        width: 430px;
        left: 80px;
        top: 1250px;
    }

    .component-38 {
        left: 130px;
        top: 1280px;
    }

    .additional-content-container {
        top: 2180px;
        max-width: 1500px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2280px;
    }
}

/* Specific Adjustments for 1680px Width */
@media screen and (width: 1680px) {
    /* Carousel */
    .component-37 {
        width: 1380px;
        height: 920px;
        left: 430px;
    }

    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 650px);
    }

    /* About Us Section */
    .about-us {
        top: 1200px;
    }

    .line-17 {
        top: 1270px;
    }

    .component-38 {
        top: 1300px;
    }

    .additional-content-container {
        top: 2200px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2300px;
    }
}

/* Specific Adjustments for 1920px Width */
@media screen and (width: 1920px) {
    /* Welcome Text */
    .welcome-text {
        left: calc(50% - 274px/2 - 750px);
    }

    /* Carousel */
    .component-37 {
        width: 1400px;
        height: 950px;
        left: 450px;
    }

    /* About Us Section */
    .about-us {
        top: 1220px;
    }

    .line-17 {
        top: 1290px;
    }

    .component-38 {
        top: 1320px;
    }

    .additional-content-container {
        top: 2220px;
    }

    /* Footer */
    .main-footer {
        margin-top: 2320px;
    }
}

/* Info modal */
.info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-modal-content {
    background: #262626;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

.info-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.info-modal-close:before,
.info-modal-close:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #FFFFFF;
    top: 50%;
    left: 0;
}

.info-modal-close:before {
    transform: rotate(45deg);
}

.info-modal-close:after {
    transform: rotate(-45deg);
}

.info-modal h2 {
    font-family: 'Julius Sans One', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.info-modal h3 {
    font-family: 'Julius Sans One', sans-serif;
    font-size: 22px;
    margin: 30px 0 15px;
    color: #FFFFFF;
}

.info-modal p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .info-modal-content {
        padding: 30px;
    }

    .info-modal h2 {
        font-size: 24px;
    }

    .info-modal h3 {
        font-size: 20px;
    }

    .info-modal p {
        font-size: 14px;
    }
}

/* Small Mobile (320px to 479px) */
@media screen and (min-width: 320px) and (max-width: 479px) {

    .group-154, .group-157, .i-text{
        display: none !important;
    }


    body{
        overflow-x: hidden;
    }
    .container {
        position: relative;
        width: 100%;
        height: 130vh; /* Reduced from 126vh to 100vh */
        display: flex;
        justify-content: center;
        align-items: flex-start;
        background-color: #000000;
    }
    /* Header */
    .header {
        top: 12px;
        left: 10px;
    }
    .logo {
        height: 40px;
        margin-right: 5px;
    }
    .afkar-design {
        font-size: 24px;
        line-height: 40px;
    }
    /* Welcome Text */
    .welcome-text {
        width: 167px;
        height: 59px;
        left: calc(50% - 167px/2 + 9.5px);
        top: 60px; /* Reduced from 76px */
        font-size: 24px;
        line-height: 26px;
    }
    .frame-21 {
        display: block;
        position: absolute;
        top: 16px;
        right: 1%;
        width: 40px;
        height: 100vh;
        z-index: 100;
        cursor: pointer;
        transition: right 0.3s ease;
    }
    .frame-21.expanded {
        right: 1px;
    }
    .rectangle-208 {
        display: none;
        width: 40px;
        height: 100%;
        background: #000000;
        border-radius: 8px;
    }
    .group-151 {
        position: absolute;
        top: 12px;
        left: 10px;
        width: 20px;
        height: 16px;
    }
    .rectangle-166, .rectangle-167, .rectangle-168 {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #FFFFFF;
    }
    .rectangle-166 {
        top: 0;
    }
    .rectangle-167 {
        top: 7px;
    }
    .rectangle-168 {
        top: 14px;
    }
    .sidebar-content {
        position: absolute;
        top: 60px;
        left: 100%;
        width: calc(100vw - 40px);
        height: 100vh;
        background-color: #000000;
        transition: left 0.3s ease;
    }
    .frame-21.expanded .sidebar-content {
        left: 0;
    }
    .sidebar-title {
        color: #FFFFFF;
        font-family: Arial, sans-serif;
        font-size: 18px;
        margin-bottom: 10px;
        margin-left: 72px;
    }
    .sidebar-text {
        color: #D9D9D9;
        font-family: Arial, sans-serif;
        font-size: 14px;
        line-height: 1.4;
    }
    .group-154 {
        position: absolute;
        width: 26px;
        height: 26px;
        left: 41px;
        top: 262px;
        opacity: 0.5;
        cursor: pointer;
        z-index: 10;
    }
    /* Carousel - Reduced height */
    .component-37 {
        width: 350px;
        height: 450px; /* Reduced from 579px */
        left: 16px;
        top: 130px; /* Reduced from 168px */
    }
    .mask-group {
        width: 377px;
        height: 450px; /* Reduced from 579px */
    }
    .rectangle-164, .rectangle-218, .rectangle-220 {
        width: 377px;
        height: 450px; /* Reduced from 579px */
    }
    /* Adjusted Carousel Images */
    .loft-home-office {
        position: absolute;
        width: 325px;
        height: 420px; /* Reduced from 550px */
        left: 10px;
        top: 15px; /* Reduced from 25px */
        background: url('Group 183.png');
        background-size: cover;
    }
    .cozy-bedtime {
        position: absolute;
        width: 325px;
        height: 420px; /* Reduced from 550px */
        left: 10px;
        top: 15px; /* Reduced from 25px */
        background: url('Group 170.png');
        background-size: cover;
    }
    .interior-design-kitchen {
        position: absolute;
        width: 325px;
        height: 420px; /* Reduced from 550px */
        left: 10px;
        top: 15px; /* Reduced from 25px */
        background: url('Group 182.png');
        background-size: cover;
    }
    .group-152, .group-173, .group-174 {
        left: calc(50% - 30px);
        top: 590px; /* Reduced from 720px */
    }
    .nav-left, .nav-right {
        display: none;
    }
    /* View All Button */
    .group-153 {
        width: 130px;
        height: 40px;
        left: 19px;
        top: 610px; /* Reduced from 750px */
    }
    .view-all {
        width: 60px;
        height: 20px;
        left: 35px;
        top: 10px;
        font-size: 16px;
        line-height: 19px;
    }
    .rectangle-174 {
        width: 130px;
        height: 40px;
    }
    /* Horizontal Line */
    .rectangle-176 {
        width: 356px;
        height: 3px;
        left: calc(50% - 356px/2);
        top: 670px; /* Reduced from 820px */
    }
    /* About Us Section - Mobile Layout */
    .about-us {
        width: 98px;
        height: 29px;
        left: 30px;
        top: 690px; /* Reduced from 850px */
        font-size: 24px;
        line-height: 29px;
    }
    .line-17 {
        width: 176px;
        left: 23px;
        top: 730px; /* Reduced from 900px */
    }
    .component-38 {
        position: absolute;
        width: 207px;
        height: 203px;
        left: 25px;
        top: 675px; /* Reduced from 825px */
    }
    .additional-content-container {
        position: absolute;
        width: 90%;
        max-width: 1400px;
        left: 50%;
        transform: translateX(-50%);
        top: 1604px; /* Reduced from 1900px */
        display: flex;
        justify-content: center;
        gap: 60px;
    }
    .about-text-1 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 278px */
        left: -11px;
        top: 102px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-2 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 300px */
        left: -11px;
        top: 239px; /* Reduced from 250px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-3 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 278px */
        left: 66px;
        top: -500px; /* Reduced from -623px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-4 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 300px */
        left: 65px;
        top: -358px; /* Reduced from -483px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 10px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .mask-group-about {
        width: 73%;
        height: 250px; /* Reduced from 400px */
        left: auto;
        right: -132px;
        top: 35px;
    }
    .rectangle-194, .about-image {
        width: 100%;
        height: 200px; /* Reduced from 300px */
        left: 0;
        margin-top: 45px;
    }
    .mask-group-about-2 {
        width: 182px;
        height: 200px; /* Reduced from 300px */
        top: -453px; /* Reduced from -619px */
        right: 8px;
    }
    .about-image-2 {
        position: absolute;
        width: 100%;
        height: 200px; /* Reduced from 300px */
        left: 0;
        top: 0;
        background: url('DALL·E 2025-01-28 12.28.10 - A picturesque design studio based in Lebanon showcasing innovative interiors. The image features two contrasting spaces_ a cozy, modern residential li.png');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
    }
    .main-footer {
        position: relative;
        width: 100%;
        height: 300px; /* Reduced from 377px */
        background: #000000;
        padding: 20px 0; /* Reduced from 39px */
        margin-top: 450px; /* Reduced from 650px */
        box-shadow: 0 10px -8px rgba(217, 217, 217, 0.5);
    }
    .copyright-section {
        margin-bottom: 10px; /* Reduced from 19px */
        margin-top: -20px; /* Reduced from -28px */
        margin-left: -12px;
    }
    .copyright-title {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 16px; /* Reduced from 18px */
        line-height: 30px; /* Reduced from 35px */
        color: #FFFFFF;
        margin-bottom: 10px; /* Reduced from 19px */
    }
    .copyright-text {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        font-size: 10px; /* Reduced from 12px */
        line-height: 15px; /* Reduced from 17px */
        color: #FFFFFF;
        max-width: 425px;
    }
    .social-button {
        box-sizing: border-box;
        width: 120px; /* Reduced from 136px */
        height: 40px; /* Reduced from 45px */
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        gap: 10px;
        margin-bottom: -250px; /* Reduced from -300px */
    }
    .social-button span {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 14px; /* Reduced from 16px */
        line-height: 22px; /* Reduced from 25px */
        color: #FFFFFF;
        text-align: center;
    }
    .social-links {
        display: flex;
        justify-content: space-between;
        margin-top: 1px;
        width: 100%;
    }
    .facebook-btn {
        position: absolute;
        width: 120px; /* Reduced from 136px */
        height: 40px; /* Reduced from 45px */
        margin-left: -338px;
    }
    .instagram-btn {
        position: absolute;
        width: 120px; /* Reduced from 136px */
        height: 40px; /* Reduced from 45px */
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 45px; /* Reduced from 53px */
        margin-left: -339px;
    }
    .gmail-btn {
        position: absolute;
        width: 120px; /* Reduced from 136px */
        height: 40px; /* Reduced from 45px */
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 90px; /* Reduced from 105px */
        margin-left: -19px;
    }
    .contact-btn {
        position: absolute;
        width: 120px; /* Reduced from 136px */
        height: 40px; /* Reduced from 45px */
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-left: 201px;
    }
    .integital-logo {
        margin-top: 50px; /* Reduced from 56px */
        text-align: center;
        margin-left: 216px;
    }
    .integital-image {
        max-width: 100px; /* Reduced from 120px */
        height: auto;
    }
}


/* New media query for iPhone 12 Pro */
@media screen and (min-width: 390px) and (max-width: 428px) {
    body{
        overflow-x: hidden;
    }
    .container {
        position: relative;
        width: 100%;
        height: 104vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        background-color: #000000;
    }

    /* Header */
    .header {
        top: 15px;
        left: 15px;
    }
    .logo {
        height: 45px;
        margin-right: 8px;
    }
    .afkar-design {
        font-size: 26px;
        line-height: 45px;
    }

    /* Welcome Text */
    .welcome-text {
        width: 190px;
        height: 65px;
        left: calc(50% - 190px/2 + 10px);
        top: 85px;
        font-size: 26px;
        line-height: 28px;
    }

     /* Sidebar - fixed position */
     .frame-21 {
        display: block;
        position: absolute;
        top: 16px;
        right: 1%; /* Initially hidden off-screen */
        width: 40px;
        height: 100vh; /* Full height of the screen */
        z-index: 100;
        cursor: pointer;
        transition: right 0.3s ease; /* Smooth transition */
    }

    .frame-21.expanded {
        right: 1px; /* Sidebar appears on the right when expanded */
    }

    /* Sidebar background color */
    .rectangle-208 {
        display: none;
        width: 40px;
        height: 100%;
        background: #000000;
        border-radius: 8px;
    }

    /* Sidebar icon and text adjustments */
    .group-151 {
        position: absolute;
        top: 12px;
        left: 10px;
        width: 20px;
        height: 16px;
    }

    .rectangle-166, .rectangle-167, .rectangle-168 {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #FFFFFF;
    }

    .rectangle-166 {
        top: 0;
    }

    .rectangle-167 {
        top: 7px;
    }

    .rectangle-168 {
        top: 14px;
    }

    .sidebar-content {
        position: absolute;
        top: 60px;
        left: 100%; /* Hide sidebar content off-screen */
        width: calc(100vw - 40px);
        height: 100vh;
        background-color: #000000;
        transition: left 0.3s ease; /* Smooth transition for content */
    }

    .frame-21.expanded .sidebar-content {
        left: 0; /* Content appears when sidebar is expanded */
    }

    .sidebar-title {
        color: #FFFFFF;
        font-family: Arial, sans-serif;
        font-size: 18px;
        margin-bottom: 10px;
        margin-left: 72px;
    }

    .sidebar-text {
        color: #D9D9D9;
        font-family: Arial, sans-serif;
        font-size: 14px;
        line-height: 1.4;
    }

    .group-154 {
        position: absolute;
        width: 26px;
        height: 26px;
        left: 41px;
        top: 262px;
        opacity: 0.5;
        cursor: pointer;
        z-index: 10;
    }

    /* Carousel */
    .component-37 {
        width: 360px;
        height: 600px;
        left: 22px;
        top: 180px;
    }
    .mask-group {
        width: 400px;
        height: 600px;
    }
    .rectangle-164, .rectangle-218, .rectangle-220 {
        width: 400px;
        height: 600px;
    }

    /* Adjusted Carousel Images */


    .loft-home-office {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 20px;
      top: 25px;
        background: url('Group 183.png');
        background-size: cover;

    }
    .cozy-bedtime {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 17px;
        top: 25px;
        background: url('Group 170.png');
        background-size: cover;
    }
    .interior-design-kitchen {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 22px;
        top: 25px;
        background: url('Group 182.png');
        background-size: cover;
    }
    .group-152, .group-173, .group-174 {
        left: calc(50% - 30px);
        top: 740px;
    }
    .nav-left, .nav-right {
        display: none;
    }

    /* View All Button */
    .group-153 {
        width: 140px;
        height: 45px;
        left: 25px;
        top: 784px;
    }
    .view-all {
        width: 65px;
        height: 22px;
        left: 38px;
        top: 12px;
        font-size: 17px;
        line-height: 20px;
    }
    .rectangle-174 {
        width: 140px;
        height: 45px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        width: 380px;
        height: 3px;
        left: calc(50% - 380px/2);
        top: 840px;
    }

    /* About Us Section - iPhone 12 Pro Layout */
    .about-us {
        width: 110px;
        height: 32px;
        left: 35px;
        top: 870px;
        font-size: 26px;
        line-height: 32px;
    }
    .line-17 {
        width: 190px;
        left: 28px;
        top: 920px;
    }
    .component-38 {
        position: absolute;
        width: 230px;
        height: 220px;
        left: 30px;
        top: 920px;
    }


    .additional-content-container {
        position: absolute;
        width: 90%;
        max-width: 1400px;
        left: 50%;
        transform: translateX(-50%);
        top: 2124px;
        display: flex
;
        justify-content: center;
        gap: 60px;
    }
    .about-text-1 {
        position: absolute;
        width: 220px;
        height: 290px;
        left: -21px;
        top: 55px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 21px;
        color: #FFFFFF;
    }
    .about-text-2 {
        position: absolute;
        width: 220px;
        height: 310px;
        left: -24px;
        top: 260px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 21px;
        color: #FFFFFF;
    }
    .about-text-3 {
        position: absolute;
        width: 220px;
        height: 290px;
        left: 56px;
        top: -680px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 21px;
        color: #FFFFFF;
    }
    .about-text-4 {
        position: absolute;
        width: 220px;
        height: 310px;
        left: 56px;
        top: -470px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 12px;
        line-height: 21px;
        color: #FFFFFF;
    }
    .mask-group-about {
        width: 62%;
        height: 250px; /* Reduced from 400px */
        left: auto;
        right: -119px;
        top: -5px;
    }
    .rectangle-194, .about-image {
        width: 100%;
        height: 300px;
        left: 0;
    }
    .mask-group-about-2 {
        width: 55%;
        height: 300px;
        top: -632px;
        right: 15px;
    }

    .about-image-2 {
        position: absolute;
        width: 100%;
        height: 300px;
        left: 0;
        top: 0;
        background: url('DALL·E 2025-01-28 12.28.10 - A picturesque design studio based in Lebanon showcasing innovative interiors. The image features two contrasting spaces_ a cozy, modern residential li.png');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
    }

    /* Footer for iPhone 12 Pro */
    .main-footer {
        position: relative;
        width: 105%;
        height: 400px;
        background: #000000;
        padding: 45px 0;
        margin-top: 1150px;
        box-shadow: 0 10px -8px rgba(217, 217, 217, 0.5);
    }
    .copyright-section {
        margin-bottom: 22px;
        margin-top: -30px;
        margin-left: -10px;
    }
    .copyright-title {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 38px;
        color: #FFFFFF;
        margin-bottom: 22px;
    }
    .copyright-text {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        font-size: 13px;
        line-height: 18px;
        color: #FFFFFF;
        max-width: 450px;
    }
    .social-button {
        box-sizing: border-box;
        width: 145px;
        height: 48px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        gap: 10px;
        margin-bottom: -300px;
    }
    .social-button span {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 17px;
        line-height: 26px;
        color: #FFFFFF;
        text-align: center;
    }
    .social-links {
        display: flex;
        justify-content: space-between;
        margin-top: 5px;
        width: 100%;
    }
    .facebook-btn {
        position: absolute;
        width: 145px;
        height: 48px;
        margin-left: -374px;
    }
    .instagram-btn {
        position: absolute;
        width: 145px;
        height: 48px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 58px;
        margin-left: -374px;
    }
    .gmail-btn {
        position: absolute;
        width: 145px;
        height: 48px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 110px;
        margin-left: -20px;
    }
    .contact-btn {
        position: absolute;
        width: 145px;
        height: 48px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-left: 215px;
    }
    .integital-logo {
        margin-top: 60px;
        text-align: center;
        margin-left: 230px;
    }
    .integital-image {
        max-width: 130px;
        height: auto;
    }
}


/* Existing media queries for iPhone X and iPhone 12 Pro */
/* ... */

/* New media query for iPhone 14 Pro Max */
@media screen and (min-width: 428px) and (max-width: 480px) {
    body{
        overflow-x: hidden;
    }
    .container {
        position: relative;
        width: 100%;
        height: 83vh;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        background-color: #000000;
    }

    /* Header */
    .header {
        top: 18px;
        left: 20px;
    }
    .logo {
        height: 50px;
        margin-right: 10px;
    }
    .afkar-design {
        font-size: 28px;
        line-height: 50px;
    }

    /* Welcome Text */
    .welcome-text {
        width: 210px;
        height: 70px;
        left: calc(50% - 210px/2 + 10px);
        top: 95px;
        font-size: 28px;
        line-height: 32px;
    }

   /* Sidebar - fixed position */
   .frame-21 {
    display: block;
    position: absolute;
    top: 16px;
    right: 1%; /* Initially hidden off-screen */
    width: 40px;
    height: 100vh; /* Full height of the screen */
    z-index: 100;
    cursor: pointer;
    transition: right 0.3s ease; /* Smooth transition */
}

.frame-21.expanded {
    right: 1px; /* Sidebar appears on the right when expanded */
}

/* Sidebar background color */
.rectangle-208 {
    display: none;
    width: 40px;
    height: 100%;
    background: #000000;
    border-radius: 8px;
}

/* Sidebar icon and text adjustments */
.group-151 {
    position: absolute;
    top: 12px;
    left: 10px;
    width: 20px;
    height: 16px;
}

.rectangle-166, .rectangle-167, .rectangle-168 {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #FFFFFF;
}

.rectangle-166 {
    top: 0;
}

.rectangle-167 {
    top: 7px;
}

.rectangle-168 {
    top: 14px;
}

.sidebar-content {
    position: absolute;
    top: 60px;
    left: 100%; /* Hide sidebar content off-screen */
    width: calc(100vw - 40px);
    height: 100vh;
    background-color: #000000;
    transition: left 0.3s ease; /* Smooth transition for content */
}

.frame-21.expanded .sidebar-content {
    left: 0; /* Content appears when sidebar is expanded */
}

.sidebar-title {
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    margin-left: 72px;
}

.sidebar-text {
    color: #D9D9D9;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

.group-154 {
    position: absolute;
    width: 26px;
    height: 26px;
    left: 41px;
    top: 262px;
    opacity: 0.5;
    cursor: pointer;
    z-index: 10;
}

    /* Carousel */
    .component-37 {
        width: 400px;
        height: 650px;
        left: 34px;
        top: 220px;
    }
    .mask-group {
        width: 440px;
        height: 650px;
    }
    .rectangle-164, .rectangle-218, .rectangle-220 {
        width: 440px;
        height: 650px;
    }

    /* Adjusted Carousel Images */
    .loft-home-office {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 30px;
      top: 25px;
        background: url('Group 183.png');
        background-size: cover;

    }
    .cozy-bedtime {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 27px;
        top: 25px;
        background: url('Group 170.png');
        background-size: cover;
    }
    .interior-design-kitchen {
        position: absolute;
        width: 325px;
        height: 550px;
        left: 32px;
        top: 25px;
        background: url('Group 182.png');
        background-size: cover;
    }
    .group-152, .group-173, .group-174 {
        left: calc(50% - 30px);
        top: 790px;
    }
    .nav-left, .nav-right {
        display: none;
    }

    /* View All Button */
    .group-153 {
        width: 130px;
        height: 40px;
        left: 19px;
        top: 828px; /* Reduced from 750px */
    }
    .view-all {
        width: 70px;
        height: 24px;
        left: 40px;
        top: 13px;
        font-size: 18px;
        line-height: 22px;
    }
    .rectangle-174 {
        width: 150px;
        height: 50px;
    }

    /* Horizontal Line */
    .rectangle-176 {
        width: 410px;
        height: 3px;
        left: calc(50% - 410px/2);
        top: 890px;
    }

    /* About Us Section - iPhone 14 Pro Max Layout */
    .about-us {
        width: 120px;
        height: 35px;
        left: 40px;
        top: 920px;
        font-size: 28px;
        line-height: 35px;
    }
    .line-17 {
        width: 200px;
        left: 33px;
        top: 970px;
    }
    .component-38 {
        position: absolute;
        width: 250px;
        height: 240px;
        left: 35px;
        top: 920px;
    }
    .additional-content-container {
        position: absolute;
        width: 90%;
        max-width: 1400px;
        left: 50%;
        transform: translateX(-50%);
        top: 1979px;
        display: flex
;
        justify-content: center;
        gap: 60px;
    }
    .about-text-1 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 278px */
        left: -11px;
        top: 102px;
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-2 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 300px */
        left: -11px;
        top: 300px; /* Reduced from 250px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-3 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 278px */
        left: 111px;
        top: -500px; /* Reduced from -623px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .about-text-4 {
        position: absolute;
        width: 180px;
        height: 200px; /* Reduced from 300px */
        left: 111px;
        top: -309px; /* Reduced from -483px */
        font-family: 'Inria Serif';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #FFFFFF;
    }
    .mask-group-about {
        width: 73%;
        height: 250px; /* Reduced from 400px */
        left: auto;
        right: -132px;
        top: 35px;
    }
    .rectangle-194, .about-image {
        width: 100%;
        height: 300px;
        left: 0;
    }
    .mask-group-about-2 {
        width: 182px;
        height: 200px;
        top: -453px;
        right: 8px;
    }
    .about-image-2 {
        position: absolute;
        width: 100%;
        height: 300px;
        left: 0;
        top: 0;
        background: url('DALL·E 2025-01-28 12.28.10 - A picturesque design studio based in Lebanon showcasing innovative interiors. The image features two contrasting spaces_ a cozy, modern residential li.png');
        background-size: cover;
        background-position: center;
        border-radius: 20px;
    }
    /* Footer for iPhone 14 Pro Max */
    .main-footer {
        position: relative;
        width: 100%;
        height: 485px;
        background: #000000;
        padding: 50px 0;
        margin-top: 1200px;
        box-shadow: 0 10px -8px rgba(217, 217, 217, 0.5);
    }
    .copyright-section {
        margin-bottom: 25px;
        margin-top: -32px;
        margin-left: -8px;
    }
    .copyright-title {
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        font-size: 22px;
        line-height: 40px;
        color: #FFFFFF;
        margin-bottom: 25px;
    }
    .copyright-text {
        font-family: 'Inter', sans-serif;
        font-weight: 300;
        font-size: 14px;
        line-height: 20px;
        color: #FFFFFF;
        max-width: 480px;
    }
    .social-button {
        box-sizing: border-box;
        width: 155px;
        height: 52px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        gap: 10px;
        margin-bottom: -300px;
    }
    .social-button span {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        color: #FFFFFF;
        text-align: center;
    }
    .social-links {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        width: 100%;
    }
    .facebook-btn {
        position: absolute;
        width: 155px;
        height: 52px;
        margin-left: -394px;
    }
    .instagram-btn {
        position: absolute;
        width: 155px;
        height: 52px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 62px;
        margin-left: -395px;
    }
    .gmail-btn {
        position: absolute;
        width: 155px;
        height: 52px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-top: 115px;
        margin-left: -22px;
    }
    .contact-btn {
        position: absolute;
        width: 155px;
        height: 52px;
        border: 3px solid #FFFFFF;
        border-radius: 10px;
        gap: 10px;
        margin-left: 230px;
    }
    .integital-logo {
        margin-top: 65px;
        text-align: center;
        margin-left: 245px;
    }
    .integital-image {
        max-width: 140px;
        height: auto;
    }
}
