@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #0a0e17;
    --bg-card: rgba(18, 24, 38, 0.7);
    --bg-card-hover: rgba(28, 36, 56, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(16, 185, 129, 0.4);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --heading-color: #ffffff;
    
    --site-header-bg: rgba(10, 14, 23, 0.85);
    --site-footer-bg: #060911;
    --modal-bg: #0f1623;
    --form-control-bg: rgba(255, 255, 255, 0.04);
    --btn-secondary-bg: rgba(255, 255, 255, 0.05);
    --btn-secondary-color: #ffffff;
    --testimonial-quote: #e5e7eb;

    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15), transparent 70%);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    --card-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: rgba(15, 23, 42, 0.12);
    --border-color-hover: rgba(16, 185, 129, 0.5);
    
    --text-main: #0f172a;
    --text-muted: #334155;
    --text-dim: #475569;
    --heading-color: #0f172a;
    
    --site-header-bg: rgba(248, 250, 252, 0.92);
    --site-footer-bg: #e2e8f0;
    --modal-bg: #ffffff;
    --form-control-bg: #ffffff;
    --btn-secondary-bg: #f1f5f9;
    --btn-secondary-color: #0f172a;
    --testimonial-quote: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #059669 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(135deg, #0284c7 0%, #7c3aed 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; }

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

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

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

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

/* Badges & Pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-emerald);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #04131a;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
    color: #04131a;
}

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

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

/* Header Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--site-header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    transition: var(--transition);
}

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

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--heading-color);
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo-icon, .solutivix-logo-svg {
    display: block;
    flex-shrink: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.25));
}

.brand-logo:hover .solutivix-logo-svg,
.brand-logo:hover .brand-logo-icon {
    transform: scale(1.08) rotate(4deg);
    filter: drop-shadow(0 4px 16px rgba(6, 182, 212, 0.5));
}

.brand-name {
    color: var(--heading-color);
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1;
}

.brand-dot {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

.nav-links a:hover, .nav-links a.active {
    color: var(--heading-color);
}

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

/* Theme Switcher Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    border-color: var(--accent-emerald);
    transform: scale(1.06);
    color: var(--accent-emerald);
}

.theme-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s ease;
}

.theme-toggle-btn:hover svg {
    transform: rotate(25deg);
}

.theme-icon-sun {
    display: none;
}
.theme-icon-moon {
    display: block;
}

[data-theme="light"] .theme-icon-sun {
    display: block;
}
[data-theme="light"] .theme-icon-moon {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--heading-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections Base */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
}

.section-header p {
    font-size: 1.15rem;
    margin-top: 1rem;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 6rem 0;
    background: var(--gradient-glow);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
}

.hero-content h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.hero-visual {
    position: relative;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.code-preview {
    font-family: monospace;
    font-size: 0.9rem;
    color: #38bdf8;
    line-height: 1.8;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.05rem;
    color: var(--testimonial-quote);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1rem;
}

.author-info p {
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading-color);
}

.faq-body {
    padding: 0 2rem 1.5rem 2rem;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-body {
    display: block;
}

.faq-item.active .faq-header {
    color: var(--accent-emerald);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid var(--border-color-hover);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background: var(--site-footer-bg);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem 0;
    margin-top: auto;
    transition: var(--transition);
}

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

.footer-brand p {
    margin-top: 1rem;
    max-width: 320px;
}

.footer-col h4 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

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

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

.footer-links a:hover {
    color: var(--heading-color);
}

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

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-box {
    background: var(--modal-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    position: relative;
    box-shadow: var(--card-shadow);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--form-control-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-emerald);
}

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

/* Pricing & Cost Estimator Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
    margin-bottom: 5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--card-shadow);
}

.pricing-card.popular {
    border: 2px solid var(--accent-emerald);
    background: rgba(16, 185, 129, 0.04);
}

.popular-ribbon {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--gradient-primary);
    color: #04131a;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
    letter-spacing: 0.08em;
}

.package-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.package-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.package-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 48px;
    margin-bottom: 1.5rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.package-price .amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
}

.package-price .period {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.92rem;
    color: var(--text-main);
}

.package-features .check-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Custom Estimator Container */
.estimator-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--card-shadow);
}

.estimator-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.estimator-header h3 {
    font-size: 1.8rem;
    margin: 0.8rem 0 0.5rem 0;
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.estimator-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-checkbox-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--form-control-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.feature-checkbox-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.feature-checkbox-card input[type="checkbox"] {
    display: none;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.checkbox-box svg {
    width: 14px;
    height: 14px;
    color: #ffffff;
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.feature-checkbox-card input[type="checkbox"]:checked + .checkbox-box {
    background: var(--accent-emerald);
    border-color: var(--accent-emerald);
}

.feature-checkbox-card input[type="checkbox"]:checked + .checkbox-box svg {
    opacity: 1;
    transform: scale(1);
}

.feature-info {
    flex-grow: 1;
}

.feature-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.included-tag {
    font-size: 0.65rem;
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.feature-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.estimator-summary-panel {
    position: sticky;
    top: 100px;
}

.summary-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.summary-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.summary-price-display {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-emerald);
    line-height: 1;
}

.summary-price-display .sym {
    font-size: 1.8rem;
}

.summary-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.summary-addons-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 220px;
    overflow-y: auto;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
}

.summary-note {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .estimator-grid {
        grid-template-columns: 1fr;
    }
    .estimator-summary-panel {
        position: static;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   AGENCY HQ MOTION GRAPHICS & INTERACTIVE CANVAS ENGINE STYLES
   ========================================================================== */

/* Preloader Screen */
.agency-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #04070d;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.agency-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    max-width: 380px;
    width: 90%;
}

.preloader-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.preloader-logo svg {
    filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.8));
    animation: preloaderPulse 2s infinite ease-in-out;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-cyan);
    text-transform: uppercase;
}

.preloader-bar-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
    transition: width 0.3s ease-out;
}

.preloader-status {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.8)); }
    50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.9)); }
}

/* Custom Kinetic Cursor */
.agency-cursor-dot,
.agency-cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99990;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.agency-cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-emerald);
    box-shadow: 0 0 12px var(--accent-emerald);
}

.agency-cursor-circle {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(6, 182, 212, 0.6);
    background: rgba(6, 182, 212, 0.04);
}

body.cursor-hover .agency-cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    background: var(--accent-cyan);
}

body.cursor-hover .agency-cursor-circle {
    width: 56px;
    height: 56px;
    border-color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

@media (max-width: 992px) {
    .agency-cursor-dot, .agency-cursor-circle {
        display: none !important;
    }
}

/* Ambient Spatial Background */
.ambient-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.ambient-glow-1 {
    top: -10%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: var(--accent-emerald);
    animation: floatGlow 14s ease-in-out infinite alternate;
}

.ambient-glow-2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    animation: floatGlow 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

/* Hero Portal Section & 3D Canvas */
.hero-section {
    position: relative;
    padding: 11rem 0 7rem 0;
    overflow: hidden;
}

.portal-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#agencyPortalCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.portal-overlay-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.06) 0%, transparent 60%, var(--bg-main) 95%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
}

.hero-badge {
    position: relative;
    padding-left: 1.8rem;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.badge-dot {
    position: absolute;
    left: 0.75rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseDot 1.8s infinite ease-in-out;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-headline {
    font-size: clamp(2.8rem, 5.5vw, 4.8rem);
    line-height: 1.1;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
}

.btn-portal-enter {
    position: relative;
    overflow: hidden;
}

.btn-portal-enter svg {
    transition: transform 0.3s ease;
}

.btn-portal-enter:hover svg {
    transform: translateX(5px);
}

/* 3D Interactive Card & Spotlight Glow */
.interactive-tilt-card {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.card-glow-highlight {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(16, 185, 129, 0.15), transparent 40%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.interactive-tilt-card:hover .card-glow-highlight {
    opacity: 1;
}

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

.terminal-title {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-left: 0.5rem;
}

.terminal-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.terminal-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.telemetry-chip {
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.telemetry-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 6px var(--accent-emerald);
    animation: pulseDot 1.5s infinite;
}

/* Floating Holographic Pills */
.floating-holo-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.4);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 3;
    pointer-events: none;
}

.floating-holo-pill svg {
    color: var(--accent-cyan);
}

.holo-pill-1 {
    top: -20px;
    right: -15px;
    animation: floatBounce 4.5s ease-in-out infinite alternate;
}

.holo-pill-2 {
    bottom: -20px;
    left: -20px;
    animation: floatBounce 5.2s ease-in-out infinite alternate-reverse;
}

@keyframes floatBounce {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-14px) rotate(2deg); }
}

/* CTA Energy Aura */
.cta-banner {
    position: relative;
    overflow: hidden;
}

.cta-energy-aura {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15), transparent 70%);
    animation: auraRotate 20s linear infinite;
    pointer-events: none;
}

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

/* Scroll Reveal Engine */
.reveal-on-scroll {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.reveal-fade-up {
    transform: translateY(36px);
    filter: blur(6px);
}

.reveal-scale-in {
    transform: scale(0.92);
    filter: blur(8px);
}

.reveal-slide-left {
    transform: translateX(-40px);
    filter: blur(6px);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* ==========================================================================
   3D TECH STACK ORBITAL MOTION VISUAL
   ========================================================================== */
.tech-stack-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem 2.2rem 2rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.tech-core {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.core-pulse-ring {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1.5px dashed var(--accent-emerald);
    opacity: 0.5;
    animation: spinRing 25s linear infinite;
}

.core-pulse-ring.ring-2 {
    inset: -40px;
    border-color: var(--accent-cyan);
    animation: spinRing 35s linear infinite reverse;
    opacity: 0.3;
}

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

.core-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.2), rgba(10, 14, 23, 0.9));
    border: 2px solid var(--accent-emerald);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #ffffff;
    text-align: center;
    animation: pulseCore 3s infinite ease-in-out;
}

@keyframes pulseCore {
    0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 50px rgba(6, 182, 212, 0.7), inset 0 0 35px rgba(16, 185, 129, 0.5); transform: scale(1.05); }
}

.core-label {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

/* Orbiting Tech Stack Nodes Grid */
.tech-orbit-system {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
}

.tech-node {
    position: absolute;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    background: rgba(15, 22, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    user-select: none;
}

.tech-node:hover {
    transform: scale(1.15) translateZ(30px);
    border-color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
}

.tech-icon {
    font-size: 1.1rem;
}

.tech-name {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--heading-color);
    white-space: nowrap;
}

/* Node Orbital Coordinates around Central Core */
.node-1 { top: 12%; left: 8%; }
.node-2 { top: 8%; right: 10%; }
.node-3 { top: 40%; right: 4%; }
.node-4 { bottom: 22%; right: 8%; }
.node-5 { bottom: 18%; left: 6%; }
.node-6 { top: 42%; left: 3%; }
.node-7 { top: 26%; left: 24%; }
.node-8 { bottom: 28%; right: 28%; }

.tech-live-metric {
    position: relative;
    z-index: 10;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(4, 7, 13, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    letter-spacing: 0.05em;
    width: fit-content;
}

.metric-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulseDot 1.5s infinite;
}

/* ==========================================================================
   CLIENTS SHOWCASE & MARQUEE SECTION
   ========================================================================== */
.clients-section {
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}

.clients-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    padding: 1.5rem 0;
}

.clients-marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: marqueeScroll 32s linear infinite;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    min-width: 280px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    flex-shrink: 0;
}

.client-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.client-card-inner {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.client-logo-wrapper {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.client-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-emerald);
}

.client-logo-placeholder span {
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 2px;
}

.client-info h4 {
    font-size: 1rem5;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
    color: var(--heading-color);
}

.client-industry-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 0.4rem;
}

.client-metric-chip {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

/* ==========================================================================
   COURSES GRID SECTION STYLES
   ========================================================================== */
.courses-section {
    padding: 6rem 0;
}

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

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.course-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #0d131f;
}

.course-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.course-card:hover .course-card-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.course-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.15));
    color: var(--accent-emerald);
}

.course-image-placeholder span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--heading-color);
}

.course-highlight-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: #04131a;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.course-price-pill {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
}

.course-card-body {
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.meta-tag svg {
    color: var(--accent-emerald);
}

.course-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--heading-color);
}

.course-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.course-card-footer {
    margin-top: auto;
}

.btn-course-action {
    width: 100%;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
}

/* Interactive Media Showcase Section */
.media-feature-section {
    padding: 6rem 0;
    position: relative;
}

.media-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.media-grid-reversed {
    direction: rtl;
}
.media-grid-reversed > * {
    direction: ltr;
}

.media-feature-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.media-feature-visual {
    position: relative;
    width: 100%;
}

.media-single-img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    display: block;
}

.media-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #000;
}

.media-video-element {
    width: 100%;
    height: auto;
    max-height: 450px;
    display: block;
}

.media-video-iframe {
    width: 100%;
    height: 380px;
    display: block;
}

.media-carousel-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: var(--bg-card);
}

.media-carousel-track {
    position: relative;
    width: 100%;
    height: 380px;
}

.media-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: scale(1.03);
}

.media-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--accent-emerald);
    color: #04131a;
    border-color: var(--accent-emerald);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--accent-emerald);
}

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

/* ==========================================================================
   LIGHT MODE CONTRAST & LEGIBILITY OVERRIDES
   ========================================================================== */
[data-theme="light"] .nav-links a {
    color: #1e293b !important;
    font-weight: 600 !important;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
    color: #0f172a !important;
}

[data-theme="light"] .hero-headline,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    background: none !important;
    -webkit-text-fill-color: #0f172a !important;
    color: #0f172a !important;
}

[data-theme="light"] .hero-headline span,
[data-theme="light"] .hero-content h1 span,
[data-theme="light"] h1 span,
[data-theme="light"] h2 span {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .hero-subtext,
[data-theme="light"] p {
    color: #334155 !important;
    font-weight: 500 !important;
}

[data-theme="light"] .badge,
[data-theme="light"] .hero-badge {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    color: #047857 !important;
    font-weight: 800 !important;
}

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3) !important;
}

[data-theme="light"] .btn-secondary {
    background: #ffffff !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .btn-secondary:hover {
    background: #f1f5f9 !important;
    border-color: #059669 !important;
    color: #047857 !important;
    -webkit-text-fill-color: #047857 !important;
}

[data-theme="light"] .floating-holo-pill {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(6, 182, 212, 0.4) !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .tech-node {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .tech-name {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .stat-item h3 {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

[data-theme="light"] .stat-item p {
    color: #475569 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .service-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .pricing-card,
[data-theme="light"] .blog-card,
[data-theme="light"] .modal-box,
[data-theme="light"] .visual-card,
[data-theme="light"] .tech-stack-visual {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .ambient-grid {
    opacity: 0.15 !important;
    background-image: radial-gradient(rgba(15, 23, 42, 0.12) 1px, transparent 1px) !important;
}

/* ==========================================================================
   PROFESSIONAL CONTACT PAGE & OFFICE HUBS STYLING
   ========================================================================== */
.contact-main-section {
    padding: 9rem 0 5rem 0;
}

.contact-headline {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    text-align: center;
    margin-bottom: 0.8rem;
}

.contact-subtext {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    margin-top: 3.5rem;
    align-items: start;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
}

.contact-form-card .card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-form-card .card-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
}

.contact-form-card .card-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

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

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--form-control-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-emerald);
    outline: none;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
    background: var(--bg-card-hover);
}

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

/* Service Tags Selector */
.service-tags-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.tag-chip {
    cursor: pointer;
    user-select: none;
}

.tag-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tag-chip span {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.tag-chip input:checked + span {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

/* Budget Pills Selector */
.budget-pills-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.budget-pill {
    cursor: pointer;
    user-select: none;
}

.budget-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.budget-pill span {
    display: block;
    text-align: center;
    padding: 0.6rem 0.5rem;
    border-radius: var(--radius-sm);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.budget-pill input:checked + span {
    background: var(--gradient-primary);
    color: #04131a;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Contact Channels Column */
.contact-channels-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-channel-card {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.contact-channel-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.channel-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.channel-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.channel-link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

.channel-link:hover {
    color: var(--accent-emerald);
}

.channel-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.channel-badge {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-dim);
}

.channel-badge.status-online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Social Grid Pills */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.social-chip:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* Office Locations Grid Section */
.office-locations-section {
    padding: 6rem 0;
    background: var(--gradient-glow);
}

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

.office-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
}

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

.office-card.primary-hub {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
}

.office-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.office-city {
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}

.office-meta {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.meta-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.meta-row svg {
    color: var(--accent-emerald);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.meta-row a {
    color: var(--text-main);
    font-weight: 600;
}

.meta-row a:hover {
    color: var(--accent-emerald);
}

.timezone-row {
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
}

/* Light Mode Overrides for Contact Page */
[data-theme="light"] .contact-form-card,
[data-theme="light"] .contact-channel-card,
[data-theme="light"] .office-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .form-control {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .form-control:focus {
    background: #ffffff !important;
    border-color: #059669 !important;
}

[data-theme="light"] .tag-chip span {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .tag-chip input:checked + span {
    background: rgba(16, 185, 129, 0.15) !important;
    border-color: #059669 !important;
    color: #047857 !important;
}

[data-theme="light"] .budget-pill span {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

[data-theme="light"] .budget-pill input:checked + span {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    color: #ffffff !important;
}

[data-theme="light"] .social-chip {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .budget-pills-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row-2col {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ABOUT US STORY SECTION & SEO HIGHLIGHTS STYLING
   ========================================================================== */
.about-story-section {
    padding: 6rem 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.story-title {
    font-size: clamp(2.2rem, 3.8vw, 3.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.story-text-body p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.story-text-body p.lead-text {
    font-size: 1.18rem;
    color: var(--text-main);
    font-weight: 500;
}

.about-highlights-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.8rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-item .check-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.highlight-item h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.highlight-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
}

.about-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
}

.about-featured-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

.about-floating-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.6rem;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.about-floating-badge .badge-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-emerald);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-floating-badge .badge-text strong {
    display: block;
    font-size: 1rem;
    color: #ffffff;
}

.about-floating-badge .badge-text span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

[data-theme="light"] .about-floating-badge {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .about-floating-badge .badge-text strong {
    color: #0f172a !important;
}

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

/* ==========================================================================
   ABOUT US HERO SECTION & DUAL PILLARS STYLING
   ========================================================================== */
.about-hero-section {
    padding: 9.5rem 0 5rem 0;
    background: var(--gradient-glow);
    position: relative;
    overflow: hidden;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.about-hero-headline {
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.about-hero-subtext {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 620px;
    line-height: 1.65;
}

.about-hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-pillars-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.agency-pillar {
    border-left: 4px solid var(--accent-cyan);
}

.agency-pillar .pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.academy-pillar {
    border-left: 4px solid var(--accent-emerald);
}

.academy-pillar .pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
}

.pillar-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.pillar-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

.hero-credential-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-emerald);
    align-self: flex-start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.hero-credential-chip .chip-avatar-group {
    display: flex;
    align-items: center;
}

.hero-credential-chip .chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    margin-right: 0.6rem;
}

.about-hero-stats-bar {
    margin-top: 4.5rem;
    padding: 2.2rem 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-box .stat-value {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.stat-box .stat-label {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

/* Light Mode Overrides for About Hero */
[data-theme="light"] .pillar-card,
[data-theme="light"] .about-hero-stats-bar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .hero-credential-chip {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #047857 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .about-hero-headline {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================================================
   SERVICES PAGE & SEO OVERVIEW STYLING
   ========================================================================== */
.services-hero-section {
    padding: 9.5rem 0 5rem 0;
    background: var(--gradient-glow);
    position: relative;
    overflow: hidden;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.services-hero-headline {
    font-size: clamp(2.5rem, 4.2vw, 3.8rem);
    line-height: 1.12;
    margin-bottom: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.services-hero-subtext {
    font-size: 1.18rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 640px;
    line-height: 1.65;
}

.services-hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.services-badge-canvas {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.canvas-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
    transition: var(--transition);
}

.canvas-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
}

.web-card {
    border-left: 4px solid var(--accent-cyan);
}

.mktg-card {
    border-left: 4px solid var(--accent-emerald);
}

.canvas-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.web-card .icon-box {
    background: rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
}

.canvas-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.canvas-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.canvas-location-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.4rem;
    border-radius: var(--radius-full);
    background: rgba(10, 14, 23, 0.85);
    border: 1px solid var(--border-color);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-cyan);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.services-stats-bar {
    margin-top: 4.5rem;
    padding: 2.2rem 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(16px);
}

/* ==========================================================================
   SERVICES OVERVIEW & INTERACTIVE CARDS
   ========================================================================== */
.services-overview-section {
    padding: 6rem 0;
    position: relative;
}

.services-filter-wrapper {
    display: flex;
    justify-content: center;
    margin: 2.5rem 0 3.5rem 0;
}

.services-filter-tabs {
    display: inline-flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    gap: 0.35rem;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #04131a;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

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

.service-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.service-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card-tag {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.22);
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.85rem;
    color: var(--text-main);
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.6rem;
    flex-grow: 0;
}

.service-card-checklist {
    list-style: none !important;
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-grow: 1;
}

.service-card-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.45;
}

.service-card-checklist .check-icon {
    color: var(--accent-emerald);
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    margin-top: 2px;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.service-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-card-action:hover {
    background: var(--gradient-primary);
    color: #04131a;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Light Mode Overrides for Services Page */
[data-theme="light"] .canvas-card,
[data-theme="light"] .services-stats-bar,
[data-theme="light"] .service-feature-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .canvas-location-tag {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0891b2 !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .services-hero-headline {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
}

[data-theme="light"] .services-filter-tabs {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .filter-btn {
    color: #475569 !important;
}

[data-theme="light"] .filter-btn.active {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3) !important;
}

[data-theme="light"] .service-card-tag {
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    color: #0284c7 !important;
}

[data-theme="light"] .service-card-action {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

[data-theme="light"] .service-card-action:hover {
    background: linear-gradient(135deg, #059669 0%, #0891b2 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

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

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

@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .services-filter-tabs {
        width: 100%;
    }
    .filter-btn {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        padding: 0.5rem 0.8rem;
        font-size: 0.82rem;
    }
}









