html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans Condensed", sans-serif;
    background-color: black;
}


/* top-section */
.top-section {
    position: relative;
    /* Ensures child absolute/fixed elements relate to this */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Prevent horizontal scroll from overflow */

    background-image:
        linear-gradient(to top, black 0px, black 20px, transparent 200px),
        linear-gradient(to right, black 0px, black 20px, transparent 200px),
        url(./images/robo);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 0px 20px;
    box-sizing: border-box;
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.9) 30%,
            rgba(0, 0, 0, 0.4) 70%,
            rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    /* Stack nav-option and logo vertically */
    align-items: flex-start;
    transition: all 0.5s ease;
}

.nav-option {
    display: flex;
    flex-direction: column-reverse;
    /* logo at bottom initially */
    align-items: flex-start;
    width: 100%;
    transition: all 0.5s ease;
}



.nav-menu {
    position: relative;
    transition: none;
    padding-left: 10px;
}

/* Hover animation */
.nav-menu:hover {
    animation: rollUpDown 0.3s ease forwards;
    margin-left: 5px;
}

@keyframes rollUpDown {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    40% {
        opacity: 0;
        transform: translateY(-5px);
        /* move up & fade out */
    }

    41% {
        opacity: 0;
        transform: translateY(5px);
        /* jump to below */
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        /* return to original spot */
    }
}


.nav-menu::before {
    content: "▪";
    color: #ff6b35;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 13px;
    padding-top: 5px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.nav-right-option {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.5s ease;
    width: 100%;
}

.navbar.scrolled .nav-right-option {
    width: 50%;
}
.second-nav{
    display: flex;
    justify-content: space-between;
    display: none;
}

.logo {
    width: 670px;
    height: auto;
    padding-top: 0;
    align-self: flex-start;
    opacity: 1;
    transform: translateY(20px);
    transition:
        width 0.5s ease,
        padding 0.5s ease,
        transform 0.5s ease,
        opacity 0.5s ease;
        padding: 0;

}


.navbar.scrolled .logo {
    width: 150px;
    height: auto;
    padding: 0px 0;
    opacity: 1;
    transform: translateY(0);
}

.navbar.scrolled .nav-option {
    flex-direction: row;
    /* logo left, nav right */
    justify-content: space-between;
    align-items: center;
}


.menu-toggle {
    width: 50px;
    height: 30px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    /* This aligns spans to the right */
    gap: 6px;
    z-index: 999;
    display: none;
}

.menu-toggle span {
    display: block;
    height: 1px;
    width: 15px;
    /* You can set this to any size */
    background-color: white;
    border-radius: 2px;
    transition: 0.3s ease;
}


/* When menu is active (clicked) */
.menu-toggle.active span:first-child {
    transform: rotate(44deg) translateY(4px);
}

.menu-toggle.active span:last-child {
    transform: rotate(-46deg) translateY(-5px);
}

.main-head {
    font-size: 75px;
    margin: 0;
    padding: 0;
    color: #E7E7E7;
    font-weight: 400;
    line-height: 5rem;
}

.top-content {
    padding: 400px 20px 80px 20px;
    width: 57%;
    margin-left: auto;
    /* Pushes content to the right */
    /* Aligns text and button to the right */
}


.main-minihead {
    margin: 0;
    font-size: 20px;
    color: #B0B0B0;
    padding: 20px 0px;
}

.collab-btn {
    position: relative;
    background-color: black;
    color: white;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 🔥 Hover animation: smooth move and tilt */
.collab-btn:hover {
    transform: translateY(-5px) scale(1.03) rotateX(15deg);
    background-color: #EF7C00;
    color: white;
}


.collab-btn::before,
.collab-btn::after,
.collab-btn .corner {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid #EF7C00;
}

/* Top-left */
.collab-btn::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

/* Top-right */
.collab-btn::after {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

/* Bottom-left */
.collab-btn .bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

/* Bottom-right */
.collab-btn .br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}
/* menu-bar */
.menu-bar{
    height: auto;
    padding: 30px 20px;
    background-color: #000000;
    display: none;
}
.menu-bar a{
font-size: 18px;
}
/* second-section */
.second-section {
    padding: 100px 40px;
    padding-top: 200px;
    background-color: #000000;
    height: auto;
    position: relative;
}

.second-header-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-head {
    margin: 0;
    font-size: 65px;
    color: #D2D2D2;
    width: 50%;
    text-align: center;
    line-height: 3.6rem;
    padding: 20px 0px;
}

.core {
    margin: 0;
    font-size: 20px;
    color: #B0B0B0;
}

.core-content {
    padding: 50px 20px;
}

.core-value-row {
    display: flex;
    align-items: center;
    gap: 80px;
    color: #D2D2D2;
    padding: 40px 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.core-value-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
    transform: translateX(0px);
}
.core-section{
    width: 40%;
    display: flex;
    justify-content: space-between;
}
.core-title {
    font-size: 34px;
    color: #E0E0E0;
    margin: 0;
    font-weight: 400;
}

.core-index {
    font-size: 20px;
    color: #B0B0B0;
    margin: 0;
}

.core-description {
    font-size: 19px;
    color: #B0B0B0;
    line-height: 1.6;
    margin: 0;
    width: 60%;
}

/* Hover Image */
.hover-image {
    position: fixed;
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Transition for smooth movement */
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.2s ease;
    
    transform: translate(0px, 0px);
}


.hover-image.visible {
    opacity: 1;
    visibility: visible;
    width: 250px;
    height: 250px;
    border-radius: 0;
}


/* Different images for each row */
.hover-image.innovation {
    background-image: url('./images/painting-a.jpg');
}

.hover-image.precision {
    background-image: url('./images/painting-b.jpg');
}

.hover-image.empathy {
    background-image: url('./images/painting-c.webp');
}

.hover-image.adaptability {
    background-image: url('./images/painting-d.jpg');
}


/* video-section */
.video-section {
    padding: 80px 40px;
    display: flex;
    gap: 40px;
    background-color: #000000;
    height: auto;
    padding-bottom: 200px;
}

.video-section-left {
    width: 35%;
}

.video-section-right {
    width: 65%;
}

.bracket {
    font-size: 20px;
    color: #B0B0B0;
    margin: 0;
}

.video-title {
    font-size: 62px;
    font-weight: 400;
    color: #2E2E2E;
    /* Base color */
    line-height: 4.5rem;
    padding: 20px 0px;
    white-space: pre-wrap;
    margin: 0;
}

.video-title span {
    display: inline-block;
    color: #2E2E2E;
    transition: color 0.3s ease;
}

.video-title span.white {
    color: white;
}


.video-grid {
    width: 350px;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0px;
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* service-section */
.service-section {
    padding: 50px 20px;
    display: flex;
    gap: 40px;
    background-color: #000000;
    height: auto;
}

.service-box {
    width: 75%;
    display: flex;
    gap: 130px;
}

.service-box-left {
    width: 45%;
    padding: 50px 0;

    display: flex;
    justify-content: center;
    /* Horizontal centering */
    align-items: center;
    /* Vertical centering */
}

.service-box-left .service-grid {
    display: none;
}

.service-box-left .service-grid.a {
    display: block;
    /* Initially visible */
}

.service-grid {
    max-width: 100%;
    width: 100%;
}

.service-box-right {
    width: 55%;
}

.service-box-right-title {
    position: sticky;
    top: 100px;
    /* keep it visible near the top */
    transition: transform 0.3s ease;
}

.service-grid-img {
    width: 92%;
    height: 45vh;
}

.service-grid-title {
    margin: 0;
    font-size: 60px;
    font-weight: 400;
    color: #2E2E2E;
    line-height: 2.9rem;
    padding: 25px 0px;
    transition: color 0.5s ease;
}

.service-grid-para {
    font-size: 16px;
    margin: 0;
    color: #B0B0B0;
    padding: 10px 0px;
}

/* project-section */
.project-section {
    padding: 80px 20px;
    display: flex;
    gap: 40px;
    background-color: #000000;
}

.project-section-left {
    width: 60%;
}

.project-section-right {
    width: 40%;
}
.project-sectionb-left {
    width: 60%;
}

.project-sectionb-right {
    width: 40%;
}

.grid-img {
    display: flex;
    gap: 30px;
}

.project-grid {
    padding-bottom: 10px;
    width: 50%;
}

.project-img {
    width: 100%;
    height: auto;
}

.project-img-title {
    margin: 0;
    padding: 10px 0px;
    font-size: 18px;
    color: #B0B0B0;
    display: none;
}

.project-section-right-grid {
    display: flex;
    justify-content: space-between;
    position: sticky;
    top: 100px;
    /* sticks when 100px from top of viewport */
    z-index: 10;
}

.header-section-project {
    width: 30%;
}

.number {
    width: 10%;
    display: flex;
    justify-content: flex-end;
    /* Aligns content to the right */
    align-items: center;
    /* Optional: vertically center the number */
}

.project-grid-title {
    margin: 0;
    font-size: 44px;
    font-weight: 500;
    color: #B0B0B0;
    line-height: 2.9rem;
    padding: 25px 0px;
    width: 90%;
}

.image-division {
    height: 50vh;
    overflow: hidden;
    /* Prevents overflow if needed */
}

.project-secondimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the area, cropping if needed */
    display: block;
}

/* blog-section */
.blog-section {
    padding: 80px 20px;
    background-color: #000000;
    text-align: center;
}

.blog-title {
    margin: 0;
    font-size: 62px;
    font-weight: 400;
    color: #D4D4D4;
    line-height: 3.6rem;
    padding: 15px 0px;
}


.blog-grid-section {
    display: flex;
    gap: 20px;
    padding: 20px 0px;
    text-align: left;
}

.blog-grid {
    width: 50%;
}

.blog-image-section {
    height: 50vh;
    width: 100%;
    overflow: hidden;
    padding-bottom: 20px;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills the area, cropping if needed */
    display: block;
}

.blog-img-minihead {
    font-size: 16px;
    color: #B0B0B0;
    margin: 0;
}

.blog-img-head {
    margin: 0;
    font-size: 28px;
    font-weight: 400;
    color: #D4D4D4;
    line-height: 2.4rem;
    padding: 5px 0px;
}
.blog-img-head:hover {
    color: #a1a1a1;
}


/* bottom-section */
.bottom-section {
    padding: 80px 20px;
    background-color: #000000;
    display: flex;
    /* Add flex */
    flex-direction: column;
}

.first-bottom-section {
    width: 60%;
    margin-left: auto;
}
.first-bottom-section .collab-btn{
    margin-top: 50px;
}

.bottom-set {
    display: flex;
    gap: 30px;
    padding: 10px 0px;
}

.right-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    flex: 1;
    /* This makes it fill remaining space */
    background-color: #1A1A1A;
    border: 0.5px solid #686868;
    min-height: 70px;
    /* Add height so it's visible */
}

.bottom-title {
    margin: 0;
    font-size: 60px;
    font-weight: 400;
    color: #E7E7E7;
    line-height: 2.9rem;
    padding: 10px 0px;
}

.arrow {
    width: 15px;
    height: 15px;
}

.bottom-paragraph-section {
    height: 100vh;
    position: relative; /* anchor for absolutely positioned children */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 80px;
    overflow: hidden; /* hide overflow from images if needed */
}



/* footer */
/* footer */
.footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 40px 20px;
    font-size: 14px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-column a {
    flex: 1;
    margin: 0 20px;
    width: 33.33%;
}

.footer-column h3 {
    color: #cccccc;
    font-size: 16px;
    margin: 0;
    font-weight: normal;
    letter-spacing: 1px;
}

.footer-column ul {
    list-style: none;
    padding-left: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    transition: none;
}

/* Hover animation for footer list items - same as nav-menu */
.footer-column ul li:hover {
    animation: rollUpDown 0.3s ease forwards;
    margin-left: 5px;
}

.footer-column ul li::before {
    content: "▪";
    color: #ff6b35;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}

.footer-column ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0;
}

.footer-column ul li a:hover {
    color: #ff6b35;
}

.footer-column.contact ul li {
    padding-left: 15px;
}

.footer-column.contact ul li::before {
    content: "▪";
    color: #ff6b35;
}

.dual-menu {
    display: flex;
    gap: 40px;
    /* Adjust spacing between the two lists */
}

.dual-menu ul {
    padding-left: 0;
    list-style: none;
    margin: 0;
}

.dual-menu ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
    transition: none;
}

/* Hover animation for dual-menu list items */
.dual-menu ul li:hover {
    animation: rollUpDown 0.3s ease forwards;
    margin-left: 5px;
}

.dual-menu ul li::before {
    content: "▪";
    color: #ff6b35;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
}

.dual-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 0;
}



/* footer-bottom */
.footer-bottom {
    background-color: #0a0a0a;
    padding: 40px 20px;
    padding-bottom: 0px;
}

.bottom-logo {
    width: 100%;
    height: auto;
}

.country {
    font-size: 16px;
    color: #B0B0B0;
    margin: 0;
    padding: 20px 0px;
    text-align: center;
}

/* footer-bottom */
.footer-bottom {
    background-color: #0a0a0a;
    padding: 40px 20px;
    padding-bottom: 0px;
}
.footer-bootom-section{
    display: flex;
    justify-content: space-between;
}
.bottom-logo {
    width: 100%;
    height: auto;
}

.country {
    font-size: 16px;
    color: #B0B0B0;
    margin: 0;
    padding: 20px 0px;
    text-align: center;
}


.bottom-paragraph-section {
    height: 100vh;
    position: relative; /* anchor for absolutely positioned children */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 80px;
    overflow: hidden;
    display: none;
}



 .full-screen-div {
      height: 80vh;
      background-image: url(./images/topic.png);
      position: relative;
      overflow: hidden;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
     

    }

  .trail-image {
  position: absolute;
  width: 100px;
  height: 100px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.3s ease;
  will-change: transform, opacity;
  user-select: none;
}
