/* hypeNX Design System - Deep Space Navy & Gold CSS */

:root {
    --bg: #0B1E36; /* Deep Space Navy */
    --panel: rgba(22, 59, 101, 0.65); /* Navy Surface */
    --panel-soft: rgba(255, 255, 255, 0.02);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(223, 171, 76, 0.35); /* Gold hover border */
    --text: #F8FAFC; /* Slate Light */
    --muted: #94A3B8; /* Muted slate */
    --soft: #cbd5e1;
    --cyan: #B9872E; /* Gold Primary */
    --cyan-light: #DFAB4C; /* Gold Light */
    --indigo: #8A6B32; /* Gold Dark Accent */
    --indigo-light: #EAD196; /* Gold Light Glow */
    --dark: #0B1E36;
    --success-bg: rgba(16, 185, 129, 0.12);
    --success-border: rgba(52, 211, 153, 0.35);
    --error-bg: rgba(239, 68, 68, 0.12);
    --error-border: rgba(248, 113, 113, 0.35);
    --shadow: 0 25px 60px -15px rgba(185, 135, 46, 0.2);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    min-height: 100%;
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Background Glowing Canvas effects */
.background-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.glow-one {
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(185, 135, 46, 0.22) 0%, rgba(22, 59, 101, 0.05) 70%);
}

.glow-two {
    top: 50%;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(22, 59, 101, 0.4) 0%, rgba(185, 135, 46, 0.02) 75%);
    transform: translateY(-50%);
}

.glow-three {
    bottom: -150px;
    right: 15%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(185, 135, 46, 0.15) 0%, rgba(22, 59, 101, 0.02) 80%);
}

/* Layout Utilities */
.container {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 30, 54, 0.8);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: padding 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

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

.brand-icon {
    display: block;
    width: 244px;
    height: 48px;
    background: url('/img/logo.png') no-repeat center center;
    background-size: contain;
    font-size: 0;
    color: transparent;
}

.brand-info {
    display: flex;
    align-items: center;
}

.brand-name {
    display: none;
}

.brand-tagline {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 12px;
    height: 24px;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan-light);
    text-shadow: 0 0 10px rgba(223, 171, 76, 0.3);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Premium Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(185, 135, 46, 0.3);
}

.button:active {
    transform: translateY(0);
}

.button-primary {
    background: linear-gradient(135deg, var(--cyan), var(--indigo));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(185, 135, 46, 0.2);
}

.button-primary:hover {
    background: linear-gradient(135deg, var(--cyan-light), var(--indigo-light));
    box-shadow: 0 8px 25px rgba(185, 135, 46, 0.4);
}

.button-secondary {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    color: var(--text);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border-hover);
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
}

/* Page Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0 100px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan-light);
    background: rgba(185, 135, 46, 0.08);
    border: 1px solid rgba(185, 135, 46, 0.2);
    margin-bottom: 24px;
}

.badge span {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--cyan-light);
    box-shadow: 0 0 8px var(--cyan-light);
}

h1 {
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff 30%, #e2e8f0 70%, #dfab4c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--soft);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 32px;
}

.stat-card {
    display: flex;
    flex-direction: column;
}

.stat-card strong {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.stat-card span {
    font-size: 13px;
    color: var(--muted);
}

/* Security Lifecycle Container */
.lifecycle-card {
    background: rgba(22, 59, 101, 0.45);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.lifecycle-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(185, 135, 46, 0.2);
}

.lifecycle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.lifecycle-header h3 {
    font-size: 22px;
    font-weight: 700;
}

.lifecycle-header .icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(22, 59, 101, 0.4);
    border: 1px solid rgba(185, 135, 46, 0.25);
    display: grid;
    place-items: center;
    color: var(--cyan-light);
    font-size: 18px;
}

.lifecycle-list {
    display: grid;
    gap: 16px;
}

.lifecycle-item {
    display: flex;
    gap: 16px;
    background: rgba(11, 30, 54, 0.4);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    transition: border-color 0.2s ease;
}

.lifecycle-item:hover {
    border-color: var(--border-hover);
}

.step-number {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--indigo));
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.lifecycle-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.lifecycle-item p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

/* Sections Setup */
.section {
    padding: 80px 0;
    position: relative;
}

.section-lined {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.005), rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.005));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--cyan-light);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 16px;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 48px;
}

/* Core Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px -10px rgba(185, 135, 46, 0.2);
}

.card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(185, 135, 46, 0.08);
    border: 1px solid rgba(185, 135, 46, 0.2);
    display: grid;
    place-items: center;
    color: var(--cyan-light);
    font-size: 22px;
    margin-bottom: 24px;
}

.card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* Detailed Services Panels */
.services-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-panel {
    background: rgba(22, 59, 101, 0.3);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.service-panel .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(185, 135, 46, 0.1);
    border: 1px solid rgba(185, 135, 46, 0.2);
    display: grid;
    place-items: center;
    color: var(--cyan-light);
    font-size: 24px;
    margin-bottom: 24px;
}

.service-panel h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.service-panel p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 28px;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 30, 54, 0.4);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--soft);
}

.check-icon {
    color: var(--cyan-light);
    font-weight: 700;
}

/* Mission & Vision Panels */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mission-card {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
}

.mission-card.highlight {
    background: radial-gradient(circle at top right, rgba(185, 135, 46, 0.1), transparent 70%), var(--panel-soft);
    border-color: rgba(185, 135, 46, 0.25);
}

.mission-card h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-top: 20px;
}

/* Why Choose Us Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.reason-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(22, 59, 101, 0.45);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--soft);
}

/* Contact Panels */
.contact-panel {
    background: linear-gradient(135deg, rgba(185, 135, 46, 0.08) 0%, rgba(22, 59, 101, 0.05) 50%, rgba(11, 30, 54, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.contact-info p {
    color: var(--soft);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.notification-box {
    background: rgba(11, 30, 54, 0.6);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.notification-box p strong {
    color: #ffffff;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.notification-box p:last-child {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* Premium Forms */
.inquiry-form {
    background: rgba(11, 30, 54, 0.7);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #e5e7eb;
}

label .required {
    color: var(--cyan-light);
}

input,
select,
textarea {
    width: 100%;
    background: rgba(22, 59, 101, 0.95);
    border: 1px solid var(--border);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(185, 135, 46, 0.5);
    box-shadow: 0 0 0 3px rgba(185, 135, 46, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #4b5563;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%239ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 40px;
}

.submit-button {
    width: 100%;
    height: 48px;
    border: none;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.form-message {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.form-message.success {
    display: block;
    color: #34d399;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
}

.form-message.error {
    display: block;
    color: #f87171;
    background: var(--error-bg);
    border: 1px solid var(--error-border);
}

.form-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}

/* Site Footer */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: rgba(11, 30, 54, 0.9);
    padding: 24px 0;
    font-size: 13px;
    color: var(--muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Blog Styles */
.blog-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
    padding: 40px 0 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.blog-card-image {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #112a4c, #163B65);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid var(--border);
    font-size: 32px;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 30, 54, 0.6) 0%, transparent 100%);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--cyan-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.blog-card-meta span.date {
    color: var(--muted);
    font-weight: 400;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-title a:hover {
    color: var(--cyan-light);
}

.blog-card-summary {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 16px;
    font-size: 12px;
    color: var(--muted);
}

.blog-card-footer .author {
    font-weight: 500;
    color: var(--soft);
}

/* Sidebar Search & Categories */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

.sidebar-widget h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    border-left: 3px solid var(--cyan);
    padding-left: 10px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 40px;
}

.search-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--soft);
}

.category-link:hover,
.category-link.active {
    background: rgba(185, 135, 46, 0.08);
    color: var(--cyan-light);
    border-left: 2px solid var(--cyan-light);
}

.category-link span.count {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    padding: 2px 8px;
    border-radius: 99px;
}

/* Blog Article View */
.post-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
    padding: 40px 0 80px;
}

.post-article {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
}

.post-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.post-category {
    display: inline-block;
    color: var(--cyan-light);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.post-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.post-meta-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--muted);
}

.post-meta-details span strong {
    color: var(--soft);
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--soft);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 16px;
}

.post-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.tag-badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--soft);
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
}

/* Related Posts Section */
.related-posts {
    border-top: 1px solid var(--border);
    padding-top: 48px;
    margin-top: 48px;
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.related-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
}

.related-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-card p {
    font-size: 12px;
    color: var(--muted);
}

/* Details Page of Services */
.services-detail-list {
    display: grid;
    gap: 40px;
}

.service-detail-item {
    background: var(--panel-soft);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 0.3fr 1.7fr;
    gap: 32px;
    align-items: start;
    transition: all 0.3s ease;
}

.service-detail-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.service-detail-item .icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(185, 135, 46, 0.08);
    border: 1px solid rgba(185, 135, 46, 0.2);
    display: grid;
    place-items: center;
    color: var(--cyan-light);
    font-size: 28px;
}

.service-detail-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-detail-content p {
    color: var(--soft);
    font-size: 15px;
    line-height: 1.7;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .brand-tagline {
        display: none;
    }
    .brand-icon {
        width: 200px;
        height: 39px;
    }
    .nav-links {
        gap: 16px;
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 60px 0 80px;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-grid {
        max-width: 500px;
        margin: 0 auto;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-panels,
    .mission-grid,
    .contact-grid,
    .blog-layout,
    .post-layout {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        margin-top: 40px;
    }

    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions .button {
        display: none;
    }
    .brand-icon {
        width: 170px;
        height: 33px;
    }
    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .check-grid {
        grid-template-columns: 1fr;
    }

    .contact-panel {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .service-panel {
        padding: 32px 24px;
    }

    .inquiry-form {
        padding: 24px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .post-article {
        padding: 24px 16px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Premium Mobile & Tablet Enhancements (Interactive overlays, animations & glows)
   ========================================================================== */

/* Custom animated hamburger toggle icon button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 18px;
    position: relative;
    padding: 0;
    z-index: 110;
    transition: transform 0.2s ease;
}

.mobile-nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--cyan-light);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-nav-toggle span:nth-child(1) { top: 0px; }
.mobile-nav-toggle span:nth-child(2) { top: 8px; }
.mobile-nav-toggle span:nth-child(3) { top: 16px; }

/* Hamburger Morph transitions to "X" when open */
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Tactile touch feedbacks for mobile/tablets */
@media (max-width: 992px) {
    .button:active,
    .card:active,
    .service-panel:active,
    .lifecycle-item:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    /* Premium Full Screen Overlay mobile menu */
    .nav-links {
        display: none;
    }

    .nav-links.mobile-active {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(11, 30, 54, 0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 40px;
        gap: 32px;
        z-index: 105;
        animation: fadeInMenu 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-links.mobile-active a {
        font-size: 24px;
        font-weight: 700;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        color: var(--soft);
        opacity: 0;
        transform: translateY(20px);
        animation: slideInMenuItem 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Staggered mobile links entry */
    .nav-links.mobile-active a:nth-child(1) { animation-delay: 0.08s; }
    .nav-links.mobile-active a:nth-child(2) { animation-delay: 0.14s; }
    .nav-links.mobile-active a:nth-child(3) { animation-delay: 0.20s; }
    .nav-links.mobile-active a:nth-child(4) { animation-delay: 0.26s; }
    .nav-links.mobile-active a:nth-child(5) { animation-delay: 0.32s; }

    .nav-links.mobile-active a:hover,
    .nav-links.mobile-active a.active {
        color: var(--cyan-light);
        text-shadow: 0 0 15px rgba(223, 171, 76, 0.5);
    }

    @keyframes fadeInMenu {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes slideInMenuItem {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Spacing and card layout enhancements for mobile screen */
    .section-title {
        text-align: center;
    }
    .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .card,
    .service-panel,
    .mission-card {
        padding: 24px;
    }

    /* Re-scaled glow containers to prevent side scrolling */
    .glow-one {
        width: 280px;
        height: 280px;
        top: -80px;
        right: -40px;
    }
    .glow-two {
        width: 320px;
        height: 320px;
        left: -80px;
    }
    .glow-three {
        width: 280px;
        height: 280px;
        bottom: -80px;
    }
}


/* About Us section layout override to resolve mobile/tablet inline grid squishing */
@media (max-width: 992px) {
    #about .container {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 768px) {
    #about .container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: left;
    }
}
