@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,500;1,600&family=Raleway:wght@300;400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --deep-bg: #0a141a;
    --card-bg: #0f2028;
    --accent: #a8d8e4;
    --text-main: #f5f7f8;
    --text-muted: #94a6b2;
    --glass: rgba(15, 32, 40, 0.8);
    --border: rgba(168, 216, 228, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: 'Raleway', sans-serif; 
    background-color: var(--deep-bg); 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; }

/* --- Modern Glass Nav --- */
.sw-nav {
    position: fixed; top: 0; width: 100%; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%; z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.sw-nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; }
.sw-nav-logo-img { height: 40px; border-radius: 4px; }
.sw-nav-name { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

.sw-nav-links { display: flex; gap: 2rem; }
.sw-nav-links a { 
    font-size: 11px; font-weight: 500; text-transform: uppercase; 
    color: rgba(255,255,255,0.6); text-decoration: none; 
    transition: var(--transition); letter-spacing: 0.1em;
}
.sw-nav-links a:hover, .sw-nav-links a.active { color: var(--accent); }

/* --- Layout Components --- */
.section-container { 
    max-width: 1100px; margin: 0 auto; padding: 80px 20px; 
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
}
.glass-card:hover { border-color: var(--accent); transform: translateY(-5px); }

.btn-primary {
    background: var(--accent); color: var(--deep-bg);
    padding: 12px 28px; border-radius: 50px;
    text-decoration: none; font-weight: 700; font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
    cursor: pointer; border: none;
}
.btn-primary:hover { opacity: 0.9; transform: scale(1.05); }

/* --- Engineering Excellence Grid (Centered Fix) --- */
.grid-values { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px)); 
    gap: 25px; 
    margin-top: 40px; 
    justify-content: center; /* Keeps items centered when row is not full */
}

/* --- Footer --- */
.sw-footer { 
    background: #081015; padding: 60px 5%; 
    border-top: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 30px;
}
.footer-brand h4 { font-family: 'Playfair Display', serif; color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: var(--transition); }
.footer-links a:hover { color: white; }

@media (max-width: 768px) {
    .sw-nav-links { display: none; }
}
