/* Futuristic Construction Palette Design Variables */
:root {
    --raw-amber: #ffb703;
    --deep-carbon: #0f0f11;
    --steel-gray: #1e1e24;
    --neon-glow: rgba(255, 183, 3, 0.4);
    --headline-font: 'Space Grotesk', sans-serif;
    --body-font: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* Replaced by fluid interactive custom mouse wrapper */
}

body {
    background-color: var(--deep-carbon);
    color: #ffffff;
    font-family: var(--body-font);
    overflow-x: hidden;
}

/* Custom Interactive Cursor Element */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--raw-amber);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Glassmorphic Fixed Navigation bar */
.interactive-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 1.5rem 5%;
    background: rgba(15, 15, 17, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--headline-font);
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight { color: var(--raw-amber); }

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--raw-amber); }

.action-btn {
    background: linear-gradient(135deg, var(--raw-amber), #fb8500);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: var(--deep-carbon) !important;
    box-shadow: 0 4px 15px var(--neon-glow);
}

/* Optimized Image-Driven Brand Banner Layout */
.hero-banner-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #01152a;
    padding-top: 80px;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
}

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

.banner-blend-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(to bottom, rgba(15,15,17,0), var(--deep-carbon));
}

.hero-actions-container {
    width: 100%;
    text-align: center;
    margin-top: -3rem;
    z-index: 10;
}

/* Hover Buttons */
.magnetic-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    margin: 0 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.magnetic-btn.primary { background: var(--raw-amber); color: var(--deep-carbon); }
.magnetic-btn.secondary { border: 2px solid #fff; color: #fff; background: rgba(0,0,0,0.4); backdrop-filter: blur(5px); }

/* Scroll Down Mouse Track Indicator Animation */
.scroll-indicator {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
}

.mouse {
    width: 26px; height: 42px;
    border: 2px solid #555; border-radius: 20px;
    position: relative;
}

.wheel {
    width: 6px; height: 6px; background: var(--raw-amber);
    border-radius: 50%; position: absolute; top: 8px; left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* Dynamic Live Statistics Section */
.stats-section { padding: 4rem 0; background: #08080a; }
.stats-container {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-around; flex-wrap: wrap;
}

.stat-card { text-align: center; padding: 2rem; }
.stat-icon { font-size: 2.5rem; color: var(--raw-amber); margin-bottom: 1rem; }
.stat-card h3 { font-family: var(--headline-font); font-size: 3.5rem; font-weight: 700; }

/* Interactive Aggregate Layering Cards */
.materials-section { padding: 6rem 5% 2rem 5%; }
.section-title-wrap { text-align: center; margin-bottom: 4rem; }
.section-title-wrap h2 { font-family: var(--headline-font); font-size: 3rem; text-transform: uppercase; letter-spacing: 1px; }
.accent-line { width: 80px; height: 4px; background: var(--raw-amber); margin: 1rem auto; }

.materials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 3rem; max-width: 1200px; margin: 0 auto;
}

.tilt-card {
    height: 400px; border-radius: 12px;
    background-size: cover; background-position: center;
    position: relative; overflow: hidden;
    transition: transform 0.1s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.card-glass {
    position: absolute; bottom: 0; width: 100%; height: 60%;
    background: linear-gradient(to top, rgba(15,15,17,0.95), rgba(15,15,17,0.6));
    backdrop-filter: blur(8px); padding: 2rem;
    display: flex; flex-direction: column; justify-content: flex-end;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: height 0.4s ease;
}

.tilt-card:hover .card-glass { height: 85%; }
.card-icon { font-size: 2rem; color: var(--raw-amber); margin-bottom: 1rem; }
.tilt-card h3 { font-family: var(--headline-font); font-size: 1.5rem; margin-bottom: 0.5rem; }
.tilt-card p { font-size: 0.9rem; color: #ccc; line-height: 1.5; }

/* Modernized Markets Served Industrial Layout Blocks */
.markets-section {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--deep-carbon), #131317);
}

.markets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.market-segment-card {
    background: var(--steel-gray);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.market-segment-card:hover {
    transform: translateY(-5px);
}

.market-image-frame {
    width: 100%;
    height: 320px; /* Controls block image presentation height */
    overflow: hidden;
    position: relative;
    background: #000;
}

.market-display-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Centers asset content correctly without distortion */
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: grayscale(10%) contrast(105%);
}

.market-segment-card:hover .market-display-img {
    transform: scale(1.05); /* Interactive frame expand zoom */
}

.market-text-block {
    padding: 2.5rem;
}

.market-text-block h3 {
    font-family: var(--headline-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.market-text-block p {
    font-size: 1rem;
    color: #b3b3b3;
    line-height: 1.6;
}

/* Contact Section & Form */
.dark-contact { padding: 8rem 5%; background: #0c0c0e; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    max-width: 1100px; margin: 0 auto; gap: 4rem;
}

.live-status { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.pulse-dot {
    width: 12px; height: 12px; background: #00ff66; border-radius: 50%;
    box-shadow: 0 0 10px #00ff66; animation: statusPulse 2s infinite;
}

@keyframes statusPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

.glass-form {
    background: var(--steel-gray); padding: 3rem; border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.input-group { position: relative; margin-bottom: 2.5rem; }
.input-group input, .input-group select {
    width: 100%; background: transparent; border: none;
    border-bottom: 2px solid #444; padding: 0.5rem 0;
    color: #fff; font-size: 1.1rem; transition: border-color 0.3s;
}

.input-group select option { background: var(--steel-gray); }
.input-group input:focus, .input-group select:focus { outline: none; border-color: var(--raw-amber); }

.input-group label {
    position: absolute; left: 0; top: 0.5rem; color: #888;
    transition: 0.3s ease all; pointer-events: none;
}

.input-group input:focus ~ label, .input-group input:not(:placeholder-shown) ~ label {
    top: -1.2rem; font-size: 0.85rem; color: var(--raw-amber);
}

.select-label {
    top: -1.2rem !important;
    font-size: 0.85rem !important;
    color: #888;
}
.input-group select:focus ~ .select-label {
    color: var(--raw-amber);
}

.submit-glow-btn {
    width: 100%; padding: 1.2rem; background: var(--raw-amber);
    border: none; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(255, 183, 3, 0.2); transition: 0.3s;
}

.submit-glow-btn:hover { background: #fb8500; transform: translateY(-2px); box-shadow: 0 8px 25px var(--neon-glow); }

/* Global interactive hover states for the custom cursor */
.nav-links a:hover ~ .custom-cursor, 
.magnetic-btn:hover ~ .custom-cursor, 
.tilt-card:hover ~ .custom-cursor,
.market-segment-card:hover ~ .custom-cursor {
    width: 45px; height: 45px; background: rgba(255, 183, 3, 0.1);
}

/* Tablet & Mobile Layout Shifts */
@media (max-width: 900px) {
    * { cursor: auto !important; } 
    .custom-cursor { display: none; }
    .materials-container { grid-template-columns: 1fr; gap: 2rem; }
    .markets-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .nav-links { display: none; }
    .hero-banner-section { min-height: auto; }
    .hero-actions-container { margin-top: 1.5rem; }
    .market-image-frame { height: 240px; }
}
.custom-cursor {
    width: auto;
    height: auto;
    border: none; /* Removed the old ring border */
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    color: var(--raw-amber);
    font-size: 1.4rem; /* Initial small tipper size */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), color 0.2s ease;
}

/* Tipper expand state on links or cards */
.nav-links a:hover ~ .custom-cursor, 
.magnetic-btn:hover ~ .custom-cursor, 
.tilt-card:hover ~ .custom-cursor,
.market-segment-card:hover ~ .custom-cursor {
    transform: translate(-50%, -50%) scale(1.4);
    color: #fb8500;
}
.input-group textarea{
width:100%;
min-height:140px;
padding:20px;
resize:vertical;
background:transparent;
border:1px solid rgba(255,255,255,0.2);
border-radius:12px;
color:#fff;
font-size:1rem;
font-family:inherit;
}

.input-group textarea:focus{
outline:none;
border-color:#f5b400;
}


.input-group textarea:focus{
    outline:none;
    border-color:#f5b400;
}
.contact-details-card{
    margin-top:30px;
    padding:25px;
    border-radius:16px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.1);
}

.contact-details-card h3{
    margin-bottom:15px;
    color:#f5b400;
    font-size:1.4rem;
}

.contact-details-card p{
    margin-bottom:12px;
    line-height:1.8;
    color:#e5e5e5;
}

.contact-details-card a{
    color:#ffffff;
    text-decoration:none;
    transition:0.3s;
}

.contact-details-card a:hover{
    color:#f5b400;
}