/* --- VARIABLES --- */
:root {
    --primary: #007d8c; /* Teal from logo */
    --primary-dark: #005f6b;
    --bg-dark: #0a0a0a;
    --dark: #48494b
    --bg-light: #e5e4e2
    --bg-panel: #111111;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --border: #333333;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --teal:#009688;
    --white:#ffffff;
    --light-grey:#f5f5f5;
    --grey:#e0e0e0;
    --dark-grey:#333333;
    --text:#222222;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- CUSTOM CURSOR --- */
#cursor {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
}
body.hovering #cursor {
    width: 80px; height: 80px;
    background: rgba(0, 125, 140, 0.2);
    border-color: #fff;
}

/* --- FLOATING LOGO --- */
.floating-logo {
    position: fixed;
    bottom: 50px;
    left: 1px;
    z-index: 999;
    pointer-events: auto;
}
.floating-logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* --- FLOATING HEADER 
header {
    position: fixed;
    top: 20px; left: 50%;
    transform: translateX(-50%);
    width: 90%; max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    border-radius: 50px;
    border: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}---*/

/* ===========================
   FLOATING HEADER
=========================== */

header{
    position:fixed;
    top:20px;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    max-width:800px;
    z-index:1000;

    backdrop-filter:blur(14px);
    background:rgba(255,255,255,0.92);

    border-radius:60px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 35px;

}

.logo{
    height:55px;
}

.nav-links{
    display:flex;
    gap:25px;
    color:var(--dark-grey);
    align-items:center;
}

.nav-links a{
    text-decoration:none;
    color:var(--dark-grey);
    font-weight:500;
    transition:.3s;
}

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


.cta{
    background:var(--teal);
    color:white;
    padding:12px 24px;
    border-radius:30px;
}

.cta:hover{
    background:#00796b;
    color:white;
}

.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }
.logo span { color: var(--primary); }

/*---nav ul { display: flex; gap: 30px; }
nav a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.3s; }
nav a:hover, nav a.active { color: var(--primary); }
.btn-cta { background: var(--primary); color: white; padding: 8px 20px; border-radius: 20px; }
.btn-cta:hover { background: var(--primary-dark); color: white; }---*/

/* --- PAGE HERO (General) --- */
.page-hero {
    padding: 150px 5% 50px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 3rem; color: var(--primary); margin-bottom: 10px; }

/* --- HOME HERO (Specific) --- */
.hero-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
/* CAD Layer (Wireframe look) */
.layer-cad {
    z-index: 1;
    filter: grayscale(100%) invert(1) contrast(1.5) brightness(0.5);
    opacity: 0.6;
    background-image: url("./Images/hero.jpg");
}
/* Real Layer (Revealed by mask) */
.layer-real {
    z-index: 2;
    background-image: url("./Images/hero.jpg");
    clip-path: circle(0px at 0 0); /* Updated by JS */
}
.hero-text {
    z-index: 10;
    text-align: center;
    pointer-events: none;
    mix-blend-mode: hard-light;
    position: relative;
    z-index: 10;
    max-width: 720px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
    color: white;
}
.hero-text h1 { font-size: 3rem; line-height: 1; margin-bottom: 20px; }
.hero-text p { font-size: 1.5rem; letter-spacing: 3px; text-transform: uppercase; }

/* --- SECTIONS & GRIDS --- */
section { padding: 80px 10%; }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
}

/* --- CARDS --- */
.card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 30px;
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--primary); }
.card h3 { color: var(--primary); margin-bottom: 15px; }
.card ul li { margin-bottom: 10px; color: var(--text-muted); }
.card ul li::before { content: "►"; color: var(--primary); margin-right: 10px; font-size: 0.8rem; }

/* --- PROFILE CARDS (About Us) --- */
.profile { display: flex; gap: 20px; background: var(--bg-panel); padding: 20px; border: 1px solid var(--border); align-items: flex-start; }
.profile-img { width: 100px; height: 100px; background: #333; border-radius: 50%; flex-shrink: 0; overflow: hidden;}
.profile-img img { width: 100%; height: 100%; object-fit: cover; }
.profile-content h4 { color: var(--primary); margin-bottom: 5px; }
.profile-content span { font-size: 0.8rem; color: #fff; display: block; margin-bottom: 10px; font-style: italic; }

/* --- CONTACT FORM --- */
form { display: flex; flex-direction: column; gap: 20px; }
input, textarea {
    background: var(--bg-panel); border: 1px solid var(--border);
    padding: 15px; color: #333; font-family: inherit;
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
button {
    background: var(--primary); color: white; border: none;
    padding: 15px; font-weight: bold; text-transform: uppercase; cursor: none;
}
button:hover { background: var(--primary-dark); }


/* ===========================
   FOOTER
=========================== */

footer{
    background:#1f2326;
    color:white;
    text-align:center;
    padding:40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    flex: 1 1 250px;
    min-width: 250px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    justify-content: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #87c4ff;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
    background: rgba(255,255,255,0.16);
    transform: translateY(-1px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

.footer-copyright {
    flex: 1 1 200px;
    min-width: 200px;
    text-align: center;
    font-size: 14px;
    color: #bbb;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

footer a{
    color:var(--teal);
}

/* ===========================
   SERVICES
=========================== */

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.service-card{
    background:white;
    padding:35px;
    border-radius:20px;
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-8px);
    border-left:6px solid var(--teal);
}

.service-card h3{
    margin-bottom:15px;
    color:var(--teal);
}

/* ===========================
   INDUSTRIES
=========================== */

.industries{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.industry{
    overflow:hidden;
    border-radius:24px;
    position:relative;
}

.industry img{
    width:100%;
    height:350px;
    object-fit:cover;
}

.industry-text{
    position:absolute;
    bottom:0;
    width:100%;
    padding:30px;
    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );
    color:white;
}
/* ===========================
   CTA
=========================== */

.cta-section{
    text-align:center;
}

.cta-section h2{
    font-size:3rem;
    margin-bottom:20px;
}

.cta-section a{
    display:inline-block;
    margin-top:20px;
    background:var(--teal);
    color:white;
    padding:16px 34px;
    border-radius:40px;
    text-decoration:none;
}


/* ===========================
   MOBILE
=========================== */

@media(max-width:736px){

.hero{
    grid-template-columns:1fr;
    grid-template-rows:auto;
}

.hero-main{
    min-height:550px;
}

.hero-content h1{
    font-size:2.5rem;
}



}

