@font-face {
    font-family: 'Orkney';
    src: url('assets/fonts/orkney/orkney-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Orkney';
    src: url('assets/fonts/orkney/orkney-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Orkney';
    src: url('assets/fonts/orkney/orkney-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Orkney';
    src: url('assets/fonts/orkney/orkney-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Reset basic styles and prevent scrolling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orkney', sans-serif;
    overflow-x: hidden;
    /* Prevent horizontal scrolling but allow vertical */
    background-color: #f9f9f9;
}

.mt_100{
    margin-top: 100px;
}

/* Hero Section Layout */
.hero {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100vw;
    /* padding-left removed since container handles layout */
    position: relative;
    background-image: url('assets/images/bg-06.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* The red decorative line crossing the screen */
.hero-bg-line {
    position: absolute;
    top: 62%;
    /* Positioned behind 'IDENTITY FOR' */
    left: 0;
    width: 100vw;
    height: 1px;
    /* background-color: #c71a22; Red color matching the model/design */
    z-index: 1;
    /* Keep it below the text (z-index: 2) */
}

.hero-content {
    z-index: 2;
    /* max-width: 70%;  */
}

.hero h1 {
    font-weight: 600;
    font-size: 160px;
    /* Keeps 130px on large screens but remains responsive */
    line-height: 1;
    /* Very tight line height as seen in the image */
    color: #1a1a1a;
    margin: 0 0 30px 0;
    /* Space between H1 and p */
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 1.5px;
    margin: 0;
    text-transform: uppercase;
}

/* Canvas container placed on the right half */
#canvas-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50vw;
    /* Canvas width adjusted to reduce blank space */
    height: 100vh;
    z-index: 3;
    /* Higher z-index than text (2) so the 3D model overlaps the text */
    cursor: grab;
}

#canvas-container:active {
    cursor: grabbing;
}

/* Premium Zoom Hint Overlay */
#zoom-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
}

#zoom-hint.active {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.4);
}

#zoom-hint .scroll-wheel {
    animation: scrollAnimation 1.5s infinite;
}

@keyframes scrollAnimation {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(5px);
        opacity: 0;
    }

    51% {
        transform: translateY(-5px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading screen covering the entire viewport during model load */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    /* Light theme loading screen */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.5s ease-out;
    /* Smooth fade out */
}

/* Loading percentage text */
#loading-text {
    color: #1a1a1a;
    font-size: 2rem;
    font-weight: 700;
}

/* Error message styled prominently */
#error-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 60, 60, 0.95);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    font-size: 1.2rem;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default */
    z-index: 20;
    text-align: center;
}

/* Full Width Banner Section */
.full-width-banner {
    width: 100vw;
    display: block;
    /* Optional background color */
}

.full-width-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Project Details Section */
.project-details-section {
    width: 100vw;
    background-image: url('assets/images/bg-06.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

/* .details-row {
    margin-bottom: 80px;
} */

.project-details-section h3 {
    font-size: 22px;
    /* Matched the smaller bold heading size */
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 20px 0;
}

.project-details-section p,
.project-details-section li {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.top-row {
    margin-bottom: 40px;
}

/* Use Flexbox with space-between for the gap between left and right */
.top-row,
.bottom-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* Row 1: Overview & Industry */
.overview-col {
    flex: 0 0 60%;
    max-width: 800px;
}

.industry-col {
    flex: 0 0 30%;
    max-width: 400px;
}

/* Row 2: Services */
.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0;

}

.services-tags .tag {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
}

/* Row 3: Challenges & Approach */
.challenges-col {
    flex: 0 0 45%;
}

.approach-col {
    flex: 0 0 45%;
}

.project-details-section ul {
    list-style-type: square;
    padding-left: 20px;
    margin: 0;
}

.project-details-section li {
    margin-bottom: 20px;
}

.project-details-section li::marker {
    font-size: 0.8em;
    /* Make the square bullet slightly smaller */
    color: #1a1a1a;
}

/* Golden Harbour Image Section */
.golden-harbour-section {
    width: 100vw;
    background-color: #1a1a1a;
    /* Dark background matching the image style */
    padding: 100px 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 5;
    /* Ensure it stays above hero background elements when scrolling */
}

/* 1620px Container Constraints */
.container {
    width: 100%;
    max-width: 1620px;
    /* Constrain content to 1620px as requested */
    margin: 0 auto;
    padding: 0 40px;
    /* Slightly more padding for the text */
}

/* Brand Text Header inside Golden Harbour section */
.brand-text-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
    /* Space before the grid image */
    flex-wrap: wrap;
    gap: 40px;
}

.brand-text-header h2 {
    font-size: 90px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
    flex: 1 1 50%;
}

.brand-text-header p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 400;
    color: #cccccc;
    line-height: 1.5;
    margin: 0;
    max-width: 350px;
    flex: 1 1 30%;
}

.brand-grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    /* Small rounded corners if the image needs it */
}

/* Products Showcase Section */
.products-showcase-section {
    width: 100vw;
    padding: 50px 0;
    position: relative;
    z-index: 5;
}

.section-heading {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 40px 0;
    line-height: 1.2;
}

.products-showcase-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Portfolio Image Section */
.portfolio-image-section {
    width: 100vw;
    background-color: transparent;
    padding: 100px 0;
    position: relative;
    z-index: 5;
}

.portfolio-grid-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}