:root {
    /* Color Palette - SIMJ Brand */
    --bg-dark: #060D18;
    --bg-card: rgba(13, 25, 43, 0.7);
    --text-main: #F0F4F8;
    --text-muted: #94A3B8;
    --primary-blue: #1E90FF;
    --primary-blue-glow: rgba(30, 144, 255, 0.3);
    --accent-orange: #FF6B35;
    --accent-orange-glow: rgba(255, 107, 53, 0.3);

    
    /* Typography */
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --glass-border: rgba(255, 255, 255, 0.08);
    --border-radius-lg: 16px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-hero {
    animation: floating 4s ease-in-out infinite;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.2;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding {
    padding: 120px 0;
}

/* --- COMPONENTS --- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 4px; /* Industrial/Tech sharp corners look */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-blue-glow);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-orange {
    background: var(--accent-orange);
    color: #fff;
    box-shadow: 0 0 20px var(--accent-orange-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-blue-glow);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
}

.glass-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.15);
    transform: translateY(-5px);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(6, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img { height: 45px; }

.nav-menu { display: flex; align-items: center; gap: 40px; list-style: none; }
.nav-link { 
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
}
.nav-link:hover { color: var(--primary-blue); }

.menu-toggle { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.menu-toggle span { width: 30px; height: 2px; background: #fff; transition: 0.3s; }

/* --- HERO --- */
.hero {
    height: 100vh;
    min-height: 850px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: inline-block;
    padding-left: 50px;
    position: relative;
}

.hero-tag::before {
    content: '';
    position: absolute;
    left: 0; top: 50%; width: 40px; height: 2px;
    background: var(--primary-blue);
}

.hero-title {
    font-size: 5rem;
    line-height: 0.95;
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 45px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
}

.stat-item h3 { font-size: 2.5rem; color: var(--primary-blue); }
.stat-item p { font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted); }

/* Tech Element Hero */
.hero-visual { position: relative; }
.tech-circle {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--primary-blue-glow);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

@keyframes rotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }

.tech-circle::before {
    content: '';
    position: absolute;
    top: 10%; left: 10%; right: 10%; bottom: 10%;
    border: 1px dashed var(--primary-blue-glow);
    border-radius: 50%;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-15px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

.hero-img-box {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 80%;
    animation: float 6s ease-in-out infinite;
}
.hero-img-box img { width: 100%; border-radius: 20px; box-shadow: 0 0 50px rgba(0,0,0,0.5); }

/* --- SERVICES --- */
.services-header { text-align: center; margin-bottom: 80px; }

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(255, 107, 53, 0.2); }
    50% { text-shadow: 0 0 15px rgba(255, 107, 53, 0.8); }
}
.section-tag { color: var(--accent-orange); font-weight: 700; animation: textGlow 3s infinite; }

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

.service-card {
    padding: 50px 40px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
    border-color: rgba(30, 144, 255, 0.3);
}

.service-card .icon-box {
    width: 70px; height: 70px;
    background: rgba(30, 144, 255, 0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 30px;
    color: var(--primary-blue);
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.service-card h3 { font-size: 1.6rem; margin-bottom: 15px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* scan line effect on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transition: 0s;
}

.service-card:hover::after {
    top: 100%;
    transition: 0.8s ease;
}

/* --- DETAILED FEATURES --- */
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.feature-row:last-child {
    margin-bottom: 0;
}
.feature-content {
    flex: 1;
}
.feature-visual {
    flex: 1;
    position: relative;
}

.visual-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.visual-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    transition: var(--transition-smooth);
}

.visual-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(30, 144, 255, 0.3);
    box-shadow: 0 40px 80px rgba(30, 144, 255, 0.15);
}

.visual-card:hover img {
    transform: scale(1.03);
}
.feature-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.1;
}
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.feature-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
    background: rgba(255,255,255,0.02);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-smooth);
}
.feature-list li:hover {
    background: rgba(30,144,255,0.05);
    border-color: rgba(30,144,255,0.2);
}

/* --- KIT CONSULTING --- */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.kit-section {
    background: linear-gradient(-45deg, #060D18, #0d1e36, #142a4a, #0d1e36);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 100px 0;
    position: relative;
}

.kit-badge {
    background: var(--kit-gold);
    color: #000;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 20px;
}

.kit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.kit-list { list-style: none; margin-top: 30px; }
.kit-item {
    display: flex; gap: 15px; margin-bottom: 15px;
    background: rgba(255,255,255,0.03);
    padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05);
}
.kit-item span { color: var(--kit-gold); font-weight: 700; }

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.contact-info-list { list-style: none; margin-top: 40px; }
.contact-info-item { display: flex; gap: 20px; align-items: center; margin-bottom: 30px; }
.contact-info-item i { width: 50px; height: 50px; background: var(--bg-card); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--primary-blue); }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.contact-form textarea, .contact-form input, .contact-form select {
    width: 100%; padding: 18px; background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); color: #fff; border-radius: 4px;
}
.contact-form select option {
    background: var(--bg-dark);
    color: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { 
    border-color: var(--primary-blue); 
    outline: none; 
}

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--glass-border); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-title { font-size: 1.2rem; margin-bottom: 25px; border-left: 3px solid var(--primary-blue); padding-left: 15px; }
.footer-links li { list-style: none; margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { color: var(--primary-blue); }

/* --- ANIMATIONS --- */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .kit-grid { grid-template-columns: 1fr; }
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 40px; text-align: center; }
    .feature-list li { text-align: left; }
}

@media (max-width: 768px) {
    .navbar { padding: 20px 0; }
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
        background: #060D18; flex-direction: column; padding: 100px 50px; transition: 0.4s; z-index: 1001;
    }
    .nav-menu.active { right: 0; }
    .hero-title { font-size: 2.8rem; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
