/* TheDarkForce Theme */
:root {
    --bg-main: #0B1120;
    --bg-secondary: #0F172A;
    --bg-yellow: #facc15;
    --bg-dark-header: #0f172a;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --text-light: #FFFFFF;
    --text-dark: #111827;
    --accent-primary: #e11d48;
    --accent-secondary: #38BDF8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-hover: rgba(51, 65, 85, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(226, 232, 240, 0.2);

    --gradient-accent: linear-gradient(135deg, #e11d48, #be123c);

    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: var(--font-stack);
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

ul {
    list-style: none;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

/* Enhanced Gradient Headings */
.text-highlight {
    color: transparent;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 15px;
    border-radius: 50px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

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

.logo h2 {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
    color: #111827 !important;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: #4B5563 !important;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary) !important;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 24px;
    height: 3px;
    margin: 5px auto;
    transition: 0.3s;
    background-color: #111827 !important;
}

/* Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -10px rgba(59, 130, 246, 0.2);
}

.glass-card:hover::before {
    /* opacity: 1; */
}

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

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Enhanced Page Header (Dark/Colored Backgrounds) */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-dark-header), #1E293B);
    /* Premium Dark BG */
    border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text-light);
}

.page-header p {
    color: #94A3B8 !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    position: relative;
    padding: 50px;
    transform: translateY(30px);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    border: none;
    background: none;
}

.modal-close:hover {
    color: var(--accent-primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
    background: var(--bg-main);
    position: relative;
}

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

.footer-heading {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.footer-links li {
    margin-bottom: 15px;
}

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

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

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--accent-primary);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-icons a:hover {
    background: var(--gradient-accent);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

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

#heroEnquire {
    color: white !important;
}

/* ===== Aurora Background Blobs ===== */
.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.hero-aurora .aurora-blob-1 {
    width: 520px; height: 520px;
    top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.22), transparent 60%);
    animation: auroraFloat1 14s ease-in-out infinite alternate;
}
.hero-aurora .aurora-blob-2 {
    width: 460px; height: 460px;
    bottom: -100px; right: 5%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 60%);
    animation: auroraFloat2 18s ease-in-out infinite alternate;
}
.hero-aurora .aurora-blob-3 {
    width: 340px; height: 340px;
    top: 40%; left: 45%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12), transparent 60%);
    animation: auroraFloat3 22s ease-in-out infinite alternate;
}
.aurora-blob-dark-1 {
    width: 500px; height: 500px;
    top: -10%; left: -10%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.18), transparent 60%);
    animation: auroraFloat1 16s ease-in-out infinite alternate;
}
.aurora-blob-dark-2 {
    width: 520px; height: 520px;
    bottom: -15%; right: -10%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.16), transparent 60%);
    animation: auroraFloat2 20s ease-in-out infinite alternate;
}
@keyframes auroraFloat1 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(80px, 60px, 0) scale(1.15); }
}
@keyframes auroraFloat2 {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(-60px, -40px, 0) scale(1.1); }
}
@keyframes auroraFloat3 {
    0%   { transform: translate3d(0, 0, 0) scale(0.95); }
    100% { transform: translate3d(40px, -50px, 0) scale(1.2); }
}

/* ===== Reveal Animations (word-stagger + fade) ===== */
.reveal-words { overflow: hidden; }
.reveal-words .word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.7s ease;
}
.reveal-words.is-revealed .word {
    transform: translateY(0);
    opacity: 1;
}
.reveal-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease 0.4s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.reveal-fade.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Magnetic Button ===== */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
    will-change: transform;
}
.magnetic-btn > span {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.magnetic-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.magnetic-btn:hover {
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.35);
}
.magnetic-btn:hover::after {
    transform: translateX(100%);
}

/* ===== Stats Strip ===== */
.stats-strip {
    background: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item { padding: 8px 4px; }
.stat-number {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
    margin: 0 0 6px;
    line-height: 1;
}
.stat-label {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin: 0;
}
@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ===== Bento Feature Grid ===== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 18px;
}
.bento-card {
    position: relative;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
                rgba(225, 29, 72, 0.12), transparent 40%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(225, 29, 72, 0.4);
    box-shadow: 0 22px 60px -20px rgba(225, 29, 72, 0.25);
}
.bento-card:hover::before { opacity: 1; }
.bento-feature {
    grid-column: span 2;
    grid-row: span 2;
    padding: 36px;
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(56, 189, 248, 0.06));
    border: 1px solid rgba(225, 29, 72, 0.25);
}
.bento-wide { grid-column: span 2; }
.bento-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.35), transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}
.bento-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.bento-icon-lg {
    width: 64px; height: 64px;
    background: rgba(225, 29, 72, 0.18);
    border-color: rgba(225, 29, 72, 0.35);
    color: var(--accent-primary);
    border-radius: 14px;
}
.bento-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.bento-title-lg {
    color: #fff;
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.bento-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}
.bento-feature .bento-desc { font-size: 1.05rem; max-width: 90%; }
.bento-feature .bento-desc strong { color: #fff; }
.bento-mini-stats {
    display: flex;
    gap: 24px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.bento-mini-stats span {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}
.bento-mini-stats strong {
    color: var(--accent-primary);
    font-size: 1.15rem;
    font-weight: 800;
    margin-right: 4px;
}
@media (max-width: 991px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-feature { grid-column: span 2; grid-row: auto; }
    .bento-wide { grid-column: span 2; }
}
@media (max-width: 575px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-feature, .bento-wide { grid-column: span 1; }
}

@media (prefers-reduced-motion: reduce) {
    .aurora-blob, .reveal-words .word, .reveal-fade,
    .magnetic-btn, .magnetic-btn > span, .bento-card {
        animation: none !important;
        transition: none !important;
    }
    .reveal-words .word, .reveal-fade { opacity: 1; transform: none; }
}

/* ===== Client Logo Marquee ===== */
.logo-marquee-section {
    padding: 50px 0 60px;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    overflow: hidden;
}
.logo-marquee-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.logo-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: logoMarquee 32s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}
.logo-marquee-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.6);
    opacity: 0.55;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
    border-radius: 8px;
}
.logo-marquee-item img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}
@keyframes logoMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track { animation: none; }
}
/* ===== TheDarkForce brand (shared on every page) ===== */
:root {
    --df-red: #e5262a;
    --df-red-soft: #fde8e8;
    --df-ink: #111827;
    --df-muted: #6b7280;
    --df-border: #e5e7eb;
    --df-grey: #f8f9fa;
    --df-yellow: #ffcc00;
}

/* Header: logo squares + menu next to the logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo h2 { letter-spacing: -0.5px; }
.logo-squares { display: inline-flex; gap: 6px; }
.logo-squares .sq { width: 40px; height: 40px; border-radius: 6px; border: 2px solid; }
.logo-squares .sq-red { background: #fde8e8; border-color: var(--df-red); }
.logo-squares .sq-blue { background: #e0f5fd; border-color: #22b8ef; }
.logo-squares .sq-yellow { background: #fff8dc; border-color: #fcd34d; }
@media (min-width: 993px) {
    .nav-container .nav-links { margin-left: 40px; margin-right: auto; }
    .nav-links a { color: var(--df-ink) !important; font-weight: 500; font-size: 1.05rem; }
}
@media (max-width: 992px) {
    .nav-links ul li a { color: #fff !important; }
}

@media (max-width: 575px) {
    .logo-squares .sq { width: 26px; height: 26px; }
    .logo h2 { font-size: 1.4rem; }
}
