/* LD Services - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-main: #060709;
    --bg-card: #0d0f13;
    --bg-card-hover: #13171e;
    --bg-header: rgba(6, 7, 9, 0.75);
    
    --primary: #4f46e5;       /* Indigo */
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #06b6d4;     /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.4);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(6, 182, 212, 0.3);
    
    /* Layout & Styling */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

/* Firefox — Global scrollbar color */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(0, 0, 0, 0.2);
}

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

/* Custom Scrollbar — Global Dark Theme */
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
*::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--primary) 100%);
}
*::-webkit-scrollbar-corner {
    background: transparent;
}

/* Glow Background Effects */
.bg-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(6,7,9,0) 70%);
    top: -200px;
    left: -100px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.6;
}

.bg-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, rgba(6,7,9,0) 70%);
    top: 600px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.4;
}

/* Utility Components */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

img {
    max-width: 100%;
    display: block;
}

/* Grid & Layout Helpers */
.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, #6366f1 0%, var(--primary) 100%);
}

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

.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(6, 182, 212, 0.05);
    transform: translateY(-2px);
}

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

header.scrolled {
    padding: 10px 0;
    background: rgba(6, 7, 9, 0.9);
}

header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    max-width: 1400px;
    width: 92%;
}

header.scrolled .nav-container {
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--secondary);
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--status-bg);
    border: 1px solid var(--status-border);
    color: var(--status-color);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    transition: var(--transition);
}

.status-badge .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--status-color);
    box-shadow: 0 0 6px var(--status-color);
    animation: status-pulse 2s infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    list-style: none;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.nav-links a {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

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

/* Language and Admin Controls in Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3px;
    position: relative;
}

.lang-btn {
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary);
    color: #fff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 180px;
    padding-bottom: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Glow background */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 75%);
    top: -100px;
    left: 10%;
    z-index: 0;
    pointer-events: none;
    filter: blur(100px);
    opacity: 0.35;
    will-change: transform;
    backface-visibility: hidden;
}

/* Grid overlay background */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: #a5b4fc;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.2);
    }
    50% {
        box-shadow: 0 0 12px 4px rgba(79, 70, 229, 0.2);
    }
}

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

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-subtitle-inline {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.about-text {
    color: var(--text-muted);
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

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

.about-visual {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.about-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d0f13 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.about-visual-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(30px, 20px);
    }
}

.about-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    z-index: 1;
}

.about-icon-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.about-icon-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-icon-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.about-icon-item:hover {
    border-color: var(--secondary-glow);
    background: rgba(6, 182, 212, 0.05);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.service-card:hover .service-icon i {
    color: #fff;
    transform: rotateY(180deg);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-card {
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-glow);
}

.team-img-wrapper {
    position: relative;
    height: 380px;
    background: #090b0e;
    overflow: hidden;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(40%);
}

.team-card:hover .team-img-wrapper img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Overlay for custom illustration avatar */
.team-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #13171e 0%, #060709 100%);
    position: relative;
}

.team-avatar-placeholder i {
    font-size: 8rem;
    color: rgba(255,255,255,0.03);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(6,7,9,0.95) 0%, rgba(6,7,9,0.7) 60%, rgba(6,7,9,0) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    z-index: 2;
    transition: var(--transition);
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: var(--transition);
}

.team-card:hover .team-bio {
    max-height: 100px;
    opacity: 1;
    margin-top: 10px;
}

/* Showcase & Journey Combined Section */
.showcase-journey-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: start;
}

.showcase-side, .journey-side {
    width: 100%;
}

.section-title-alt {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #fff;
}

.main-showcase-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}

.showcase-media-container {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: #090b0e;
    border: 1px solid var(--border);
}

.showcase-media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.showcase-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #13171e 0%, #1e1b4b 100%);
    font-family: var(--font-heading);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
}

.showcase-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    align-self: flex-start;
}

.portfolio-link:hover {
    color: #fff;
}

.portfolio-link i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.portfolio-link:hover i {
    transform: translateX(4px);
}

.showcase-thumbnails {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.showcase-thumbnails::-webkit-scrollbar {
    height: 4px;
}
.showcase-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}
.showcase-thumbnails::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.showcase-thumb {
    flex: 0 0 130px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--bg-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.showcase-thumb.active {
    border-color: var(--secondary);
    background: var(--bg-card-hover);
}

.showcase-thumb:hover {
    transform: translateY(-2px);
}

.thumb-img-wrapper {
    height: 70px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.thumb-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: var(--transition);
}

.thumb-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #13171e 0%, #0d0f13 100%);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
}

.showcase-thumb.active .thumb-img-wrapper img,
.showcase-thumb:hover .thumb-img-wrapper img {
    opacity: 1;
}

.thumb-title {
    font-size: 0.75rem;
    text-align: center;
    color: var(--text-muted);
    padding: 6px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.showcase-thumb.active .thumb-title {
    color: #fff;
}

/* Timeline/Journey Side Layout */
.journey-timeline {
    position: relative;
    padding: 10px 0 10px 30px;
    border-left: 2px solid var(--secondary);
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.journey-item {
    position: relative;
}

.journey-marker {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--secondary);
    left: -38px;
    top: 6px;
    z-index: 2;
    transition: var(--transition);
}

.journey-item:hover .journey-marker {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
    transform: scale(1.2);
}

.journey-content {
    transition: var(--transition);
}

.journey-year {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.journey-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* NoPixel Styled FAQ Section */
.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-left: 5px;
}

.faq-cat-title i {
    color: var(--secondary);
    font-size: 1.1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.faq-item.active {
    border-color: rgba(6, 182, 212, 0.4);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    user-select: none;
}

.faq-question-text {
    display: flex;
    align-items: center;
}

.faq-num {
    display: inline-flex;
    width: 26px;
    height: 26px;
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.faq-icon-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-icon-toggle::before,
.faq-icon-toggle::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: var(--text-muted);
    transition: var(--transition);
}

.faq-icon-toggle::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon-toggle::after {
    transform: rotate(0deg);
}

.faq-item.active .faq-icon-toggle::before,
.faq-item.active .faq-icon-toggle::after {
    background-color: var(--secondary);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 66px; /* Offset to align text under the question text, past the number badge */
    max-height: 300px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
}

.contact-info-desc {
    color: var(--text-muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.contact-detail-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dark);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.contact-detail-text p {
    font-weight: 500;
    font-size: 1rem;
}

.contact-form {
    padding: 40px;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    color: #fff;
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

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

/* Toast Messages */
.toast-msg {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

.toast-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.toast-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--border);
    background: #040507;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-social-btn:hover {
    border-color: var(--primary);
    color: #fff;
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay helpers for animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid, .contact-grid, .showcase-journey-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        height: 350px;
    }
    
    .timeline-container::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 22px;
        right: auto;
    }
    
    .timeline-left {
        text-align: left;
    }
    
    .timeline-right {
        left: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 1250px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition);
        border-top: 1px solid var(--border);
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
}

@media (min-width: 1251px) and (max-width: 1399px) {
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 0.8rem;
    }
    .logo {
        font-size: 1.35rem;
        gap: 8px;
    }
    .status-badge {
        padding: 3px 8px;
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions, .form-row {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}



/* Navbar status badge pulsing animation */
@keyframes status-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.92);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ============================================================
   LIGHTBOX / PORTFOLIO MODAL
   ============================================================ */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(6, 7, 9, 0.94);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 25px; right: 35px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100002;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover {
    color: #fff;
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.lightbox-content {
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

#lightbox-img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    max-width: 600px;
}
#lightbox-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
#lightbox-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: #fff;
    width: 50px; height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 100001;
}
.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--secondary-glow);
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

@media (max-width: 768px) {
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 0.9rem; }
    #lightbox-img { max-height: 45vh; }
}

@media (max-width: 576px) {
    .about-icon-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .nav-links a {
        font-size: 1.25rem;
    }
}

/* Client Profile Portal Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr;
    gap: 30px;
}
@media (max-width: 991px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}


