/* CYTEG Stylesheet - Premium Dark Theme & Glassmorphism */

/* Custom properties for variables */
:root {
    --bg-primary: #070a13;
    --bg-secondary: #0d1222;
    --bg-tertiary: #141b30;
    --accent-cyan: #00f0ff;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --glass-bg: rgba(13, 18, 34, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-glow: rgba(0, 240, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --max-width: 1200px;
    --header-height: 80px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Background decorative glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: 5%;
    left: -10%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 35%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.bg-glow-3 {
    bottom: 10%;
    left: 15%;
    background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

p {
    color: var(--text-secondary);
}

p strong {
    color: var(--text-primary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-success {
    color: #10b981 !important;
}

.hidden {
    display: none !important;
}

/* Glassmorphism Card base */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.45);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.icon-btn {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Forms styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.form-help {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Radio buttons custom group */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.95rem;
    user-select: none;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    margin-right: 12px;
    transition: var(--transition-fast);
}

.radio-label:hover input ~ .radio-custom {
    border-color: var(--accent-cyan);
}

.radio-label input:checked ~ .radio-custom {
    background-color: rgba(0, 240, 255, 0.1);
    border-color: var(--accent-cyan);
}

.radio-custom::after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
}

.radio-label input:checked ~ .radio-custom::after {
    display: block;
}

/* Common Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* HEADER SECTION */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(7, 10, 19, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background: rgba(7, 10, 19, 0.85);
    border-bottom-color: rgba(0, 240, 255, 0.15);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-accent {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    .header-actions .btn {
        display: none;
    }
    .mobile-nav-toggle {
        display: flex;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 10, 19, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--accent-cyan);
}

/* Mobile toggle active style */
.mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.3rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero Visual stack */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-stack {
    position: relative;
    width: 320px;
    height: 320px;
}

.main-hero-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-indicator {
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.bar-chart-sim {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bar-chart-sim .bar {
    width: 25px;
    height: var(--height);
    background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    animation: growBar 1.5s ease-out forwards;
}

@keyframes growBar {
    from { height: 0; }
    to { height: var(--height); }
}

.tech-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    row-gap: 0.6rem;
    font-size: 0.8rem;
}

.spec-label {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-value {
    color: var(--accent-cyan);
    font-weight: 600;
    text-align: right;
}

.shadow-card-1 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 15px;
    z-index: 2;
    opacity: 0.5;
    transform: rotate(3deg);
}

.shadow-card-2 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 30px;
    left: -15px;
    z-index: 1;
    opacity: 0.25;
    transform: rotate(-3deg);
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* SERVICES SECTION */
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.6rem;
    border-radius: 12px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(0, 240, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: #000;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.25);
}

.tab-icon {
    width: 20px;
    height: 20px;
}

.tab-btn.active .tab-icon {
    stroke: #000;
}

.services-tab-content {
    min-height: 380px;
}

.tab-pane {
    display: none;
    animation: fadeIn var(--transition-slow) forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.service-pane-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(90deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-pane-desc {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.bullet-icon {
    width: 18px;
    height: 18px;
    stroke: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

.service-visual-card {
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.card-inner-display {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

/* Fallback/Default simulated CSS graphics for services visual cards */
.bg-arch {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('assets/images/smart_building.jpg');
    background-color: var(--bg-tertiary);
}
.bg-eng {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('assets/images/construction_site.jpg');
    background-color: var(--bg-tertiary);
}
.bg-telecom {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('assets/images/fiber_telecom.jpg');
    background-color: var(--bg-tertiary);
}
.bg-const {
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('assets/images/construction_site.jpg');
    background-color: var(--bg-tertiary);
}

.overlay-glass {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(13, 18, 34, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.2rem;
}

.overlay-glass h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-cyan);
}

.overlay-glass p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.service-visual-card:hover .card-inner-display {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .service-visual-card {
        height: 280px;
    }
}

/* ESTIMATOR EXPRESS SECTION */
.estimator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.estimator-card {
    padding: 2.5rem;
}

.results-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-color: rgba(255, 255, 255, 0.05);
}

.results-placeholder {
    text-align: center;
    padding: 2rem;
}

.placeholder-icon {
    width: 64px;
    height: 64px;
    stroke: var(--text-muted);
    margin-bottom: 1.5rem;
}

.results-placeholder h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.results-placeholder p {
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

.results-content {
    animation: fadeIn var(--transition-normal) forwards;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.result-header h3 {
    font-size: 1.5rem;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-low {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.cost-estimate-box {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.04), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 1.8rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cost-estimate-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-cyan);
}

.cost-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.cost-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.cost-disclaimer {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.results-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.r-stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.r-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.r-stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.feasibility-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.feasibility-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: width 1s ease-out;
}

.next-steps-container {
    margin-bottom: 2rem;
}

.next-steps-container h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.steps-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.steps-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

@media (max-width: 992px) {
    .estimator-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .estimator-card {
        padding: 1.5rem;
    }
    .results-card {
        padding: 1.5rem;
    }
    .cost-value {
        font-size: 1.8rem;
    }
}

/* PORTFOLIO SECTION */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
}

.filter-btn.active {
    background: rgba(0, 240, 255, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.05);
}

.card-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 10, 19, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.view-project-btn {
    background: var(--text-primary);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-card:hover .card-hover-overlay {
    opacity: 1;
}

.portfolio-card:hover .view-project-btn {
    transform: translateY(0);
}

.portfolio-card-info {
    padding: 1.5rem;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.project-desc-short {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* PORTFOLIO MODAL */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 10, 19, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.1);
    animation: zoomIn var(--transition-normal) forwards;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-visual {
    height: 100%;
    min-height: 350px;
    background: var(--bg-tertiary);
    position: relative;
}

.modal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-subtitle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-metadata-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.meta-item {
    font-size: 0.85rem;
}

.meta-label {
    color: var(--text-muted);
    font-weight: 500;
    margin-right: 6px;
}

.meta-val {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-desc-box {
    margin-bottom: 2rem;
}

.modal-desc-box h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-desc-box p {
    font-size: 0.88rem;
    line-height: 1.6;
}

#btn-modal-contact {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
    }
    .modal-visual {
        height: 220px;
        min-height: 220px;
    }
    .modal-info {
        padding: 2rem 1.5rem;
    }
}

/* ABOUT SECTION & INTEGRATION FLOW */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-desc {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.values-list {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.value-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.value-text p {
    font-size: 0.9rem;
}

.interactive-flow-widget {
    padding: 2.2rem;
}

.interactive-flow-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-primary);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.flow-step {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 0.8rem;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.02);
}

.step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.flow-step:hover .step-icon {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.step-body h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.step-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.flow-line {
    width: 2px;
    height: 35px;
    background: var(--glass-border);
    margin-left: 22px;
    position: relative;
}

.flow-step:hover + .flow-line {
    background: var(--accent-cyan);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* CONTACT & MEETING SCHEDULER SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
}

.contact-info-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.info-intro {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-icon {
    width: 22px;
    height: 22px;
    stroke: var(--accent-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-item h5 {
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.regulatory-notes {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.regulatory-notes h5 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.regulatory-notes p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-form-card {
    padding: 3rem 2.5rem;
}

.scheduler-widget {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.scheduler-widget h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--accent-cyan);
}

.scheduler-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.scheduler-inputs {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.2rem;
}

#btn-submit-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
}

/* Spinner element */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@media (max-width: 576px) {
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    .scheduler-inputs {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(13, 18, 34, 0.9);
    border: 1px solid #10b981;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    animation: slideIn var(--transition-normal) forwards;
}

@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-icon {
    width: 28px;
    height: 28px;
    stroke: #10b981;
    flex-shrink: 0;
}

.toast-text-box h4 {
    font-size: 0.95rem;
    color: #10b981;
    margin-bottom: 0.2rem;
}

.toast-text-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@media (max-width: 576px) {
    .toast {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
}

/* FOOTER */
.main-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul a {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-links ul a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.footer-contact strong {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--accent-cyan);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
