/* ==========================================================================
   AKA Digital Solution - Custom Design System (style.css)
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Custom Theme Variables --- */
:root[data-theme="dark"] {
    --bg-primary: #0a0f1d;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(31, 41, 55, 0.8);
    
    --color-primary: #0088ff;
    --color-primary-glow: rgba(0, 136, 255, 0.15);
    --color-primary-hover: #33a2ff;
    --color-secondary: #00f2fe;
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 136, 255, 0.4);
    --shadow-color: rgba(0, 0, 0, 0.5);
    
    --glass-blur: blur(12px);
    --gradient-hero: linear-gradient(135deg, #0a0f1d 0%, #111827 50%, #001a33 100%);
    --gradient-accent: linear-gradient(90deg, #0088ff 0%, #00f2fe 100%);
    --gradient-card: linear-gradient(145deg, rgba(17,24,39,0.9) 0%, rgba(10,15,29,0.9) 100%);
}

:root[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    
    --color-primary: #0066cc;
    --color-primary-glow: rgba(0, 102, 204, 0.1);
    --color-primary-hover: #0052a3;
    --color-secondary: #00a3cc;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 102, 204, 0.3);
    --shadow-color: rgba(15, 23, 42, 0.08);
    
    --glass-blur: blur(10px);
    --gradient-hero: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --gradient-accent: linear-gradient(90deg, #0066cc 0%, #00a3cc 100%);
    --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.9) 100%);
}

/* --- Global Reset & Base Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 0.5em;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

ul {
    list-style: none;
}

/* --- Container Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo span {
    font-weight: 400;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    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: var(--gradient-accent);
    transition: width 0.3s ease;
}

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

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

/* --- Theme Toggle Button --- */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.theme-toggle-btn:hover {
    background-color: var(--border-color);
    border-color: var(--color-primary);
}

.theme-toggle-btn .fa-sun {
    display: none;
}

:root[data-theme="light"] .theme-toggle-btn .fa-moon {
    display: none;
}

:root[data-theme="light"] .theme-toggle-btn .fa-sun {
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 255, 0.3);
    color: #fff;
}

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

.btn-secondary:hover {
    background-color: var(--border-color);
    border-color: var(--color-primary);
}

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

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,136,255,0.12) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,242,254,0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 680px;
}

.ssm-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary-glow);
    border: 1px solid var(--border-hover);
    color: var(--color-primary);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Floating interactive graphic */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card-container {
    width: 100%;
    max-width: 380px;
    height: 380px;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.tech-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border: 2px dashed var(--border-hover);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.main-floating-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 40px var(--shadow-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: var(--glass-blur);
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(0, 136, 255, 0.3);
}

.mini-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 20px var(--shadow-color);
    backdrop-filter: var(--glass-blur);
}

.mf-1 {
    top: 10%;
    left: -15%;
    animation: float-offset 5s ease-in-out infinite alternate;
}

.mf-2 {
    bottom: 15%;
    right: -15%;
    animation: float-offset-alt 5s ease-in-out infinite alternate;
}

.mini-float-card i {
    color: var(--color-secondary);
    font-size: 1.2rem;
}

.mini-float-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3.5rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

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

/* --- Services & Pillars Section --- */
.services {
    background-color: var(--bg-secondary);
}

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

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px var(--color-primary-glow);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: var(--color-primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrapper i {
    font-size: 1.6rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li i {
    color: var(--color-primary);
    font-size: 0.8rem;
}

.market-analytic {
    font-size: 0.8rem;
    background-color: var(--bg-primary);
    border-left: 3px solid var(--color-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: auto;
}

.market-analytic strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

/* --- Portfolio / Case Studies Section --- */
.portfolio {
    background-color: var(--bg-primary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--color-primary-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px var(--color-primary-glow);
}

.portfolio-visual-mock {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, rgba(0,136,255,0.05) 0%, rgba(0,242,254,0.05) 100%);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-card:hover .portfolio-visual-mock::after {
    opacity: 0.2;
}

.portfolio-visual-mock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0.05;
    transition: opacity 0.3s ease;
}

.mock-ui-container {
    width: 80%;
    height: 70%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
    padding: 0.75rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .mock-ui-container {
    transform: translateY(10px);
}

.mock-ui-bar {
    display: flex;
    gap: 4px;
}

.mock-ui-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.mock-ui-content {
    background-color: var(--bg-secondary);
    border-radius: 4px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    gap: 4px;
}

.mock-line {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    width: 80%;
}

.mock-line.short {
    width: 50%;
}

.mock-line.accent {
    background: var(--gradient-accent);
}

.portfolio-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.portfolio-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.portfolio-outcome {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.portfolio-stat strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    display: block;
}

.portfolio-action {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.portfolio-card:hover .portfolio-action {
    color: var(--color-primary-hover);
}

/* --- Meet the Owner (Thomas) Section --- */
.owner {
    background-color: var(--bg-secondary);
    position: relative;
}

.owner-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.owner-visual-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 40px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.owner-visual-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-primary-glow);
    border-radius: 24px;
    top: 15px;
    left: 15px;
    z-index: -1;
}

.avatar-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-accent);
    padding: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px var(--color-primary-glow);
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-inner i {
    font-size: 4rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.owner-name {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.owner-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.owner-skills {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-bar-wrapper {
    text-align: left;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.skill-bar {
    height: 6px;
    background-color: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.owner-text {
    max-width: 600px;
}

.owner-bio {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.stat-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow-color);
}

.stat-num {
    font-size: 2.25rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Contact & Office Section --- */
.contact {
    background-color: var(--bg-primary);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--color-primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.business-doc-note {
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border-hover);
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1rem;
}

.business-doc-note p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.business-doc-note strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-form-panel {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

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

.form-submit-btn {
    width: 100%;
}

/* Map placeholder */
.map-container {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    position: relative;
    background-color: var(--bg-secondary);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 29, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 1.5rem;
    z-index: 2;
    pointer-events: none;
}

.map-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-brand p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-ssm {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-accent);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

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

.footer-contact i {
    color: var(--color-primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    color: white;
    background: var(--gradient-accent);
    border-color: transparent;
    transform: translateY(-2px);
}

/* --- Project Details Modal --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 29, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--gradient-card);
    border: 1px solid var(--border-hover);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
    backdrop-filter: var(--glass-blur);
}

.modal-backdrop.open .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background-color: var(--color-primary-glow);
    border-color: var(--color-primary);
    transform: rotate(90deg);
}

.modal-content {
    padding: 3rem 2.5rem;
}

.modal-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-client {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 600;
    background-color: var(--color-primary-glow);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--border-hover);
}

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

.modal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.modal-section-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.modal-section-title i {
    color: var(--color-primary);
}

.modal-section-content {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.modal-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.modal-tech-tag {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.modal-metrics-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-metric-item {
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-metric-val {
    font-size: 2.25rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--color-primary);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.modal-metric-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Animations Keyframes --- */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes float-offset {
    0% { transform: translateY(0px) translateX(0); }
    100% { transform: translateY(-8px) translateX(4px); }
}

@keyframes float-offset-alt {
    0% { transform: translateY(0px) translateX(0); }
    100% { transform: translateY(-8px) translateX(-4px); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Mobile Responsiveness Breakpoints --- */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .owner-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .owner-visual-card {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Toggle styling */
    .hamburger {
        display: block;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding-top: 100px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .nav-actions {
        z-index: 1000;
    }

    .hero-title {
        font-size: 2.25rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-submit-btn {
        width: 100%;
    }
}

/* --- Secure IT Gateway Overlay --- */
.security-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #080c14;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s ease;
}

.security-gate.gate-fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.gate-card {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 136, 255, 0.1);
}

.gate-logo-area {
    margin-bottom: 2.5rem;
    position: relative;
}

.gate-logo {
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 136, 255, 0.3));
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Slider Track */
.slider-container {
    width: 100%;
    margin-bottom: 2rem;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

/* Slider Background Fill */
.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #0088ff 0%, #00f2fe 100%);
    border-radius: 30px 0 0 30px;
    pointer-events: none;
}

/* Slider Drag Handle */
.slider-handle {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 136, 255, 0.4);
    z-index: 5;
    transition: background-color 0.2s ease, transform 0.1s ease;
    user-select: none;
}

.slider-handle:active {
    cursor: grabbing;
    transform: scale(0.95);
}

.slider-handle i {
    color: #0f172a;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Slider Shimmer Text */
.slider-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 2;
    letter-spacing: 0.05em;
    user-select: none;
    background: linear-gradient(90deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0.4) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 2.5s infinite linear;
}

.gate-message {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Verified / Success States */
.slider-track.verified .slider-handle {
    background-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
}

.slider-track.verified .slider-handle i {
    color: #ffffff;
    transform: rotate(360deg);
}

.slider-track.verified .slider-text {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: none;
}

/* Animations */
@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 25px rgba(0, 136, 255, 0.45)); transform: scale(1.03); }
    100% { filter: drop-shadow(0 0 10px rgba(0, 136, 255, 0.2)); transform: scale(1); }
}

@keyframes text-shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 100% 0; }
}

@media (max-width: 480px) {
    .gate-card {
        padding: 2.5rem 1.5rem;
    }
}
