body {
    background-color: black;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}


/* navbar sizing variable */

 :root {
    --navbar-height: 100px;
}

body {
    padding-top: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
}

h1,
h2,
h3,
p {
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
}


/* ===============================================
   DESKTOP STYLES
   =============================================== */



.control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: fixed;
    border-radius: 30px;
    border: 3px solid #005F8E;
    padding: 10px 20px;
    margin-top: 20px;
    height: 5.5rem;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.hiii {
    width: 100%;
    height: 250px;
    display: flex;
    gap: 5px;
    margin-top: 50px;
    animation: das 20s linear infinite;
}

.hi {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review\ 1.webp");
    background-size: cover;
}

.hi1 {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review\ 1.webp");
    background-size: cover;
}

.hi2 {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review\ 1.webp");
    background-size: cover;
}

.hi3 {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review 1.webp");
    background-size: cover;
}

.hi4 {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review 1.webp");
    background-size: cover;
}

.hi5 {
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 5px;
    background-image: url("review\ 1.webp");
    background-size: cover;
}

@keyframes das {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.co {
    width: 100%;
    height: 30vh;
    margin-top: 50px;
    gap: 2px;
    display: flex;
}

.co-item {
    width: 16.5%;
    height: 100%;
}

.co-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.com-track:hover {
    animation-play-state: paused;
}

.hi img {
    object-fit: cover;
}


#wrapper h1 {
    text-align: left;
}

h4 {
    text-align: left;
}

.love {
    margin: auto;
    width: 85%;
    height: 700px;
    background: linear-gradient(45deg, rgba(3, 88, 137, 0.4), rgba(0, 0, 0, 0.3));
    border-radius: 20px;
    margin-bottom: 8px;
    column-gap: 30px;
    display: flex;
    flex-direction: column;
}

.love h1 {
    color: white;
    font-style: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
    font-size: 50px;
}

.love p {
    margin-top: 10px;
    color: white;
    font-size: 22px;
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
}

.love1 {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    gap: 7px;
    margin-top: 20px;
}

.love11 {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.love2 {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    gap: 7px;
    margin-top: 20px;
}

.love22 {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.love11 h3,
.love22 h3 {
    color: white;
    font-size: 30px;
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
    margin: 0;
}


/* Replace the existing .test, .testss, and .test1 styles with these: */

.test {
    width: 90%;
    margin-top: 50px;
    overflow: hidden;
    position: relative;
    height: 400px;
    margin-bottom: 50px;
    left: 50px;
}

.td {
    margin-bottom: 40px;
}

.testss {
    display: flex;
    height: 100%;
    align-items: center;
    gap: 0px;
    animation: testimonial-scroll 60s linear infinite;
    width: 200%;
}

.test1 {
    width: 11%;
    /* Equal width for 12 items (6 original + 6 duplicates) */
    height: 100%;
    object-fit: cover;
}

@keyframes testimonial-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Safety responsive fixes to prevent horizontal overflow on tablet/mobile */

@media screen and (max-width: 1024px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }
    .test {
        left: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }
    .testss {
        width: 200% !important;
    }
    .test1 {
        width: calc(100% / 12) !important;
        box-sizing: border-box !important;
    }
    .control,
    .navbar,
    .heads {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

.testss:hover {
    animation-play-state: paused;
}


/* Tablet responsive for testimonials (768px - 1024px) */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .test {
        width: 100%;
        height: 300px;
        margin-top: 50px;
        overflow: hidden;
        position: relative;
        margin-bottom: 50px;
        left: 0;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .testss {
        display: flex;
        height: 100%;
        align-items: center;
        gap: 0px;
        animation: testimonial-scroll 60s linear infinite;
        width: 200%;
    }
    .test1 {
        width: calc(100% / 12);
        /* Equal width for 12 items */
        height: 100%;
        object-fit: cover;
    }
}

.testss:hover {
    animation-play-state: paused;
}

.love11 p {
    color: white;
    font-size: 15px;
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
}

.love11 i {
    color: white;
    font-size: 65px;
    margin: 0 auto;
    margin-left: 50%;
}

.love22 h3 {
    color: white;
    font-size: 30px;
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
}

.love22 p {
    color: white;
    font-size: 15px;
    font-family: 'Satoshi Medium', 'Satoshi', sans-serif;
    text-align: center;
}

.love22 i {
    color: white;
    font-size: 65px;
    margin: 0 auto;
    margin-left: 50%;
}


/* ---- Brush Painting ---- */

.brush {
    font-size: 40px;
    animation: paint 2s linear infinite;
    display: inline-block;
    position: relative;
}

@keyframes paint {
    0% {
        transform: translateX(0) rotate(-20deg);
    }
    50% {
        transform: translateX(40px) rotate(0deg);
    }
    100% {
        transform: translateX(0) rotate(-20deg);
    }
}


/* ---- Anchor Drop ---- */

.anchor {
    font-size: 40px;
    animation: drop 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes drop {
    0% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(20px);
    }
    60% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(0);
    }
}


/* ---- Lightning Flash ---- */

.lightning {
    font-size: 40px;
    animation: flash 1s infinite;
    display: inline-block;
}

@keyframes flash {
    0% {
        opacity: 1;
    }
    20% {
        opacity: 0.2;
    }
    30% {
        opacity: 1;
    }
    40% {
        opacity: 0.1;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}


/* ---- Board Blocks Pop Out ---- */

.board {
    font-size: 40px;
    position: relative;
    display: inline-block;
    animation: bounce 1.2s infinite ease-in-out;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.bm {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.bm button {
    border: 2px solid #005F8E;
    color: white;
    border-radius: 30px;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    padding: 14px 28px;
    font-size: 18px;
    min-width: 15rem;
    cursor: pointer;
    transition: all 0.3s;
}

.bm button:hover {
    background-color: #005F8E;
    color: black;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 2rem;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.nav-logo {
    height: var(--navbar-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90%;
}

.navbar-logo-img {
    height: 90%;
    width: auto;
    max-height: var(--navbar-height);
    object-fit: contain;
}

.heads {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.control a {
    text-decoration: none;
    color: white;
    font-size: 1.6rem;
    padding-right: 1rem;
    position: relative;
    transition: color 0.3s;
}

.control a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #00bfff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.control a:hover {
    color: #00bfff;
}

.control a:hover::after {
    transform: scaleX(1);
}

.h {
    display: flex;
    justify-content: center;
    align-items: center;
}

.h a {
    text-decoration: none;
    color: #005F8E;
    font-size: 1.6rem;
    padding-right: 1rem;
    transition: color 0.3s;
}

.h a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #00bfff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.h a:hover {
    color: #00bfff;
}

.h a:hover::after {
    transform: scaleX(1);
}

.btn button {
    border: 2px solid #005F8E;
    color: white;
    border-radius: 30px;
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    padding: 14px 28px;
    font-size: 18px;
    min-width: 15rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn button:hover {
    background-color: #005F8E;
    color: black;
}


/* Hamburger Menu - Hidden by Default */

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    position: relative;
    z-index: 10001;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s;
    display: block;
}

.menu-icon.active::before {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-icon.active::after {
    transform: rotate(-45deg) translate(8px, -8px);
}

.menu-icon.active span {
    opacity: 0;
}


/* Hero Section */

.animate {
    margin-top: calc(-1 * var(--navbar-height));
    height: calc(100vh + var(--navbar-height));
    width: 100%;
    z-index: 1;
    position: relative;
}

.LOG {
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
}

.LOG video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.LOG .log-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    color: #ffffff;
    font-size: 3.2rem;
    text-align: center;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.65);
    line-height: 1.1;
    padding: 0 2rem;
    z-index: 2;
}

.LOG .log-title .log-sub {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.95em;
}

.LOG .log-title .brand-word {
    display: inline-block;
    font-family: 'Instrument-Serif', 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.02em;
}




/* Custom Cursor */

.custom-cursor,
.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: opacity 0.12s ease;
}

.custom-cursor {
    width: 8px;
    height: 8px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.65);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #00ffff;
    background: transparent;
    opacity: 0.95;
}

@media (hover: none),
(pointer: coarse) {
    .custom-cursor,
    .cursor-ring {
        display: none !important;
    }
}


/* Partner Companies Section */

.pc {
    width: 100%;
    padding: 60px 20px;
    text-align: center;
}

.pc img {
    height: 20vh;
    width: 40vw;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}




/* Projects Section */

.pr {
    width: 100%;
    padding: 40px 20px;
}

.work h2 {
    margin-top: 70px;
    margin-bottom: 40px;
    color: white;
    text-decoration: underline;
    font-size: 60px;
    font-weight: bolder;
    font-style: oblique;
}

.portfolio,
.next-portfolio,
.next-portfolio2 {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.portfolio.show,
.next-portfolio.show,
.next-portfolio2.show {
    opacity: 1;
    transform: translateX(0);
}

.folio,
.folio2,
.folio3 {
    flex: 1;
}





.folio2 img,
.folio img,
.folio3 img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.folio img:hover,
.folio2 img:hover,
.folio3 img:hover {
    transform: scale(0.98);
}

.btnn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.btnn button {
    background: linear-gradient(45deg, #005F8E80, rgba(0, 0, 0, 0.3));
    border-radius: 30px;
    border: 2px solid #005F8E;
    color: white;
    font-size: 20px;
    padding: 20px 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.btnn button:hover {
    color: black;
    background-color: #005F8E;
}


/* Services Section */

h4 {
    color: white;
    font-size: 70px;
    text-align: center;
    text-decoration: underline;
    margin: 80px 0 50px;
}

#serv,
#ser,
#s {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    gap: 30px;
    margin-bottom: 50px;
}




.i img,
.d img,
.q img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.k,
.p,
.b {
    flex: 1;
}

.link h3,
.li h3,
.l h3 {
    color: white;
    font-size: 30px;
    margin-bottom: 15px;
}

.link p,
.li p,
.l p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.6;
}


/* FAQ Section */

#wrapper {
    max-width: 75%;
    margin: 80px auto;
}

#wrapper h1 {
    color: white;
    text-align: center;
    font-size: 48px;
    margin-bottom: 40px;
    letter-spacing: 3px;
}

.faq {
    border: 1px solid #005F8E;
    margin: 10px 0;
}

.accordian {
    background-color: black;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    width: 100%;
    padding: 2rem 2.5rem;
    border: none;
    outline: none;
    transition: 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.accordian i {
    font-size: 1.6rem;
}

.accordian:hover,
.accordian.active {
    background-color: #00bfff;
}

.pannel {
    padding: 0 2rem 2.5rem 2rem;
    background-color: black;
    display: none;
}

.pannel p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
}


/* Calendar Section */

.cal {
    margin-top: 80px;
    padding: 0 20px 40px;
}


/* ===============================================
   TABLET RESPONSIVE (768px - 1024px)
   =============================================== */

@media screen and (max-width: 1024px) {
    body {
        flex-wrap: wrap;
    }
    .navbar {
        width: 90%;
        display: flex;
        justify-content: center;
    }
    .com-item {
        height: 100%;
    }
    .control {
        gap: 2rem;
        padding: 10px 15px;
        width: 100%;
    }
    .test1 {
        width: 11%;
    }
    .love11 {
        height: auto;
    }
    .love22 {
        height: auto;
    }
    .love11 i {
        font-size: 35px;
    }
    .love22 i {
        font-size: 34px;
    }
    .control a,
    .h a {
        font-size: 1.3rem;
    }
    .LOG .log-title {
        font-size: 2.8rem;
    }
    .work h2 {
        font-size: 50px;
    }
    .portfolio,
    .next-portfolio,
    .next-portfolio2 {
        gap: 20px;
    }
    footer {
        display: flex;
        column-gap: 5px;
        gap: 5px;
    }
    footer img {
        width: 90%;
        height: 100px;
    }
    .foot,
    .ad,
    .links {
        text-align: left;
    }
    .foot h4,
    .ad h4,
    .links h4,
    .links a {
        text-align: left;
    }
    .folio img,
    .folio2 img,
    .folio3 img {
        height: 350px;
    }
    h4 {
        font-size: 55px;
    }
    #serv,
    #ser,
    #s {
        gap: 20px;
        padding: 0 15px;
        width: 100%;
    }
    .link,
    .li,
    .l {
        width: 30%;
        height: auto;
        padding: 25px;
    }
    .link h3,
    .li h3,
    .l h3 {
        font-size: 17px;
    }
    .link p,
    .li p,
    .l p {
        font-size: 12px;
    }
    .i,
    .d,
    .q {
        width: 60px;
    }
    #wrapper {
        max-width: 85%;
    }
    .com {
        height: 70px
    }
    .com-track {
        height: 100%;
    }
    .com-track {
        height: 100%;
    }
    footer {
        display: flex;
        flex-direction: column;
    }
}


/* ===============================================
   MOBILE RESPONSIVE (max-width: 767px)
   =============================================== */

@media screen and (max-width: 767px) {
     :root {
        --navbar-height: 70px;
    }
    /* Hide custom cursor */
    .custom-cursor,
    .cursor-ring {
        display: none !important;
    }
    /* Mobile Navbar */
    .menu-icon {
        display: flex;
        margin-left: -20px;
    }
    .hiii {
        width: 480%;
        height: 300px;
    }
    .hi {
        width: 80%;
    }
    .hi1 {
        width: 80%;
    }
    .hi3 {
        width: 80%;
    }
    .hi4 {
        width: 80%;
    }
    .hi5 {
        width: 80%;
    }
    .hi6 {
        width: 80%;
    }
    footer {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    footer img {
        width: auto;
    }
    .foot,
    .ad,
    .links {
        text-align: left;
    }
    .foot h4,
    .links h4,
    .ad h4 {
        font-size: 15px;
        text-align: left;
    }
    .links a {
        font: 12px;
        text-align: left;
    }
    .love {
        width: 95%;
        margin: auto;
        margin-bottom: 30px;
        height: auto;
        padding: 30px 20px;
    }
    .love h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .love p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .love1,
    .love2 {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 20px;
        margin-top: 15px;
    }
    .love11,
    .love22 {
        width: 100%;
        height: auto;
        gap: 12px;
    }
    .love11 h3,
    .love22 h3 {
        font-size: 1.3rem;
        margin: 0;
    }
    .love11 p,
    .love22 p {
        font-size: 0.9rem;
    }
    .love11 i,
    .love22 i {
        font-size: 40px;
    }
    .bm button {
        padding: 12px 24px;
        font-size: 14px;
        margin-top: 15px;
    }
    


 

    .work h2 {
        text-align: left;
    }
    #wrapper h1 {
        text-align: left;
    }
    h4 {
        text-align: left;
    }
    .td h5 {
        text-align: left;
        font-size: 30px;
    }
    .control {
        width: 90%;
        gap: 2rem;
        padding: 8px 12px;
        border-radius: 20px;
        height: 4rem;
        justify-content: space-evenly;
    }
    .nav-logo {
        height: 4rem;
        order: 1;
        margin-left: -60px;
    }
    .navbar-logo-img {
        height: 45px;
    }
    .btn {
        display: block !important;
        order: 2;
        margin-right: -30px;
    }
    .menu-icon {
        color: rgb(255, 255, 255, 0.5);
    }
    .btn button {
        visibility: visible !important;
        display: block !important;
        border: 2px solid #005F8E;
        color: white;
        border-radius: 20px;
        background: linear-gradient(45deg, rgba(0, 255, 255, 0.4), rgba(0, 0, 0, 0.3));
        padding: 8px 12px;
        font-size: 12px;
        min-width: auto;
        width: auto;
        white-space: nowrap;
        cursor: pointer;
        transition: all 0.3s;
        justify-content: center;
    }
    .btn button:hover {
        background-color: rgb(36, 143, 179);
        color: black;
    }
    #navlinks {
        order: 3;
    }
    /* Dropdown Menu */
    .heads {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0.5rem;
        transition: left 0.4s ease-in-out;
        padding: 1rem;
        border-left: 3px solid #005F8E;
        z-index: 10000;
        margin-left: -60px;
        padding-top: 6rem;
    }
    .heads.active {
        right: 0;
    }
    .heads a,
    .h a {
        font-size: 1rem !important;
        width: 100%;
        text-align: center;
        padding: 0.6rem 0.8rem;
        border-bottom: 1px solid #005F8E;
        color: white !important;
    }
    .heads a:hover,
    .h a:hover {
        color: #00bfff !important;
        background: rgba(0, 191, 255, 0.1);
    }
    /* Hero Section */
    .animate {
        margin-top: calc(-1 * var(--navbar-height));
        height: calc(60vh + var(--navbar-height));
    }
    .LOG .log-title {
        font-size: 1rem;
        line-height: 1;
        padding: 0 1.5rem;
        white-space: nowrap;
    }
    .LOG .btnn {
        top: calc(45% + 5rem);
    }
    .LOG .btnn button,
    .btnn button {
        padding: 14px 28px;
        font-size: 16px;
        min-width: auto;
    }
    /* Partner Companies */
    .pc {
        padding: 40px 15px;
    }
    .pc img {
        height: auto ;
        width: 80vw;
        max-width: 100% ;
        margin-top: 10px ;
    
        
        display:block;
        margin: 0 auto;

        max-width:90%;
    }
    /* Companies Animation - Adjusted for Mobile */
    .com {
        margin-top: -20px;
        --com-gap: 20px;
    }
    .com-track {
        animation-duration: 15s;
    }
    /* Projects Section */
    .pr {
        padding: 20px 15px;
    }
    .work h2 {
        font-size: 2.2rem;
        margin-top: 40px;
        margin-bottom: 30px;
        text-align: center;
    }
    .portfolio,
    .next-portfolio,
    .next-portfolio2 {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0;
    }
    .folio,
    .folio2,
    .folio3 {
        width: 100%;
    }
    .folio img,
    .folio2 img,
    .folio3 img {
        width: 100%;
        height: 250px;
        border-radius: 15px;
    }
    .folio h2,
    .folio2 h2,
    .folio3 h2 {
        font-size: 1.6rem;
    }
    .folio h3,
    .folio2 h3,
    .folio3 h3 {
        font-size: 1rem;
    }
    .btnn {
        margin: 10px 0;
    }
    h4 {
        font-size: 2.2rem;
        margin: 60px 0 30px;
        padding: 0 15px;
    }

    .link,
    .li,
    .l {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
        min-height: auto;
    }

    .k,
    .p,
    .b {
        width: 100%;
    }
    .link h3,
    .li h3,
    .l h3 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 12px;
    }
    .link p,
    .li p,
    .l p {
        font-size: 0.95rem;
        text-align: center;
        line-height: 1.5;
    }
    /* FAQ Section */
    #wrapper {
        max-width: 95%;
        padding: 20px 15px;
        margin: 60px auto 40px;
    }
    #wrapper h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    .accordian {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }
    .accordian i {
        font-size: 1.3rem;
    }
    .pannel {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
    .pannel p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    /* Calendar */
    .cal {
        padding: 40px 15px;
        margin-top: 40px;
    }
    .com-item {
        height: 100%;
    }
}


/* ===============================================
   SMALL MOBILE (max-width: 480px)
   =============================================== */

@media screen and (max-width: 480px) {
    .LOG .log-title {
        font-size: 1.6rem;
    }
    .work h2 {
        font-size: 1.8rem;
    }
    h4 {
        font-size: 1.8rem;
    }
    .love {
        display: flex;
        flex-direction: column;
        height: 850px;
        column-gap: 60px;
    }
    .love h1 {
        font-size: 40px;
        white-space: auto;
    }
    .love p {
        font-size: 17px;
    }
    .love1 {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        column-gap: 5px;
        margin-top: 20px;
    }
    .love11 {
        width: 100%;
        height: 100%;
    }
    .love2 {
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        margin-top: 10px;
        column-gap: 5px;
        margin-top: 20px;
    }
    .love22 {
        width: 100%;
        height: 100%;
    }
    .love11 h3 {
        font-size: 20px;
    }
    .love11 p {
        font-size: 13px;
    }
    .love11 i {
        color: white;
        font-size: 25px;
    }
    .love22 h3 {
        font-size: 20px;
    }
    .love22 p {
        font-size: 13px;
    }
    .love22 i {
        font-size: 25px;
    }
    .bm {
        margin-top: auto;
    }
    .folio img,
    .folio2 img,
    .folio3 img {
        height: 220px;
    }
    .link h3,
    .li h3,
    .l h3 {
        font-size: 1.2rem;
    }
    .link p,
    .li p,
    .l p {
        font-size: 0.9rem;
    }
    #wrapper h1 {
        font-size: 1.6rem;
    }
    .accordian {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
    .pannel p {
        font-size: 0.9rem;
    }
}