/* 
Theme Name: Jashid PC Theme
Theme URI: https://jashidpc.com/
Author: Jashid PC
Author URI: https://jashidpc.com/
Description: Antigravity Inspired Theme with minimalist, bright, premium typography, subtle gradients, and glassmorphism. Custom built for Jashid PC.
Version: 1.0
Text Domain: jashidpc
*/

:root {
    /* Colors */
    --bg-primary: #F8F9FA;
    --bg-secondary: #ffffff;
    --text-primary: #111111;
    --text-secondary: #5F6368;
    
    /* UI Gradients - Light Mode (Deeper, high contrast) */
    --gradient-brand: linear-gradient(100deg, #1A73E8, #7B1FA2, #D32F2F);
    --gradient-blue: linear-gradient(135deg, #1A73E8, #0D652D);
    --gradient-purple: linear-gradient(135deg, #7B1FA2, #D32F2F);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);

    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Outfit', -apple-system, sans-serif;
}

[data-theme="dark"] {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #FFFFFF;
    --text-secondary: #9AA0A6;
    
    /* UI Gradients - Dark Mode (Neon, glowing) */
    --gradient-brand: linear-gradient(100deg, #8AB4F8, #D7A7F9, #F28B82);
    --gradient-blue: linear-gradient(135deg, #8AB4F8, #81C995);
    --gradient-purple: linear-gradient(135deg, #D7A7F9, #F28B82);
    
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 12px 40px rgba(138, 180, 248, 0.05); /* Subtle blue glow */
}

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

html, body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Force dark mode background on ALL possible full-page containers to override Elementor/WP Core */
html[data-theme="dark"], 
html[data-theme="dark"] body,
html[data-theme="dark"] main,
html[data-theme="dark"] .elementor-page {
    background-color: #050505 !important;
    color: #FFFFFF !important;
}

#antigravity-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 600;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 16px;
}

.section-title.left-align {
    text-align: left;
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-1 { background-image: var(--gradient-brand); }
.gradient-2 { background-image: var(--gradient-blue); }
.gradient-3 { background-image: var(--gradient-purple); }


/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: var(--text-primary);
}

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

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px; /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-primary);
    padding: 10px 24px; /* slightly smaller for nav */
}

.btn-outline:hover {
    background: rgba(0,0,0,0.03);
}

.icon-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.glass-btn {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.glass-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: calc(var(--nav-height) + 80px) 5% 60px;
    text-align: center;
}

.hero-content {
    margin-top: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(0,0,0,0.04);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.03);
}

.hero-subline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-bar {
    display: flex;
    gap: 32px;
    margin-top: 60px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

/* Interactive Glow Tracing Effect */
.glass-panel::before, .stat-glass::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
        rgba(0, 0, 0, 0.03),
        transparent 40%
    );
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
    border-radius: inherit;
}
.glass-panel:hover::before, .stat-glass:hover::before {
    opacity: 1;
}
[data-theme="dark"] .glass-panel::before, [data-theme="dark"] .stat-glass::before {
    background: radial-gradient(
        800px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
        rgba(138, 180, 248, 0.15),
        transparent 40%
    );
}
.glass-panel > *, .stat-glass > * {
    position: relative;
    z-index: 1;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Glass Card (Hero Visual) */
.hero-visual {
    margin-top: 80px;
    width: 100%;
    max-width: 600px;
    perspective: 1000px;
    margin-bottom: auto;
}

.stat-card {
    text-align: left;
    padding: 24px;
    background: rgba(255, 255, 255, 0.85); /* Slightly less transp for hero */
}

.glass-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.metric {
    margin-top: 24px;
}
.metric .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.metric .value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.trend-up {
    color: #34A853;
    background: rgba(52, 168, 83, 0.1);
    padding: 4px;
    border-radius: 50%;
}

.float-anim {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
    50% { transform: translateY(-15px) rotateX(-1deg) rotateY(2deg); }
    100% { transform: translateY(0px) rotateX(2deg) rotateY(-2deg); }
}

/* Sections Global */
main section {
    padding: 100px 5%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 48px;
}

/* Markets Grid */
.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.market-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

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

/* Services Bento */
.services-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    display: flex;
    flex-direction: column;
}

.bento-large {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-full {
    grid-column: 1 / -1;
}

.bento-card .icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    color: var(--bg-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}
.bento-card p {
    color: var(--text-secondary);
}

@media (max-width: 900px) {
    .services-bento {
        grid-template-columns: 1fr 1fr;
    }
    .bento-wide, .bento-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}
@media (max-width: 600px) {
    .services-bento {
        grid-template-columns: 1fr;
    }
}


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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.about-stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

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

/* Highlight Card & Badges */
.market-card { position: relative; }
.highlight-card {
    border: 2px solid rgba(66, 133, 244, 0.4);
    background: linear-gradient(145deg, var(--glass-bg), rgba(66, 133, 244, 0.05));
}
[data-theme="dark"] .highlight-card {
    border-color: rgba(138, 180, 248, 0.4);
    background: linear-gradient(145deg, var(--glass-bg), rgba(138, 180, 248, 0.05));
}
.card-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, #4285F4, #9B72CB);
    color: white;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

/* Skills section */
.skills-container { margin-top: 32px; }
.skills-title { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 16px; font-weight: 600; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pill {
    padding: 6px 14px;
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}
.skill-pill:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}
[data-theme="dark"] .skill-pill {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .skill-pill:hover {
    background: var(--text-primary);
    color: #050505;
}

/* Resume Timeline */
.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
.resume-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}
.resume-header h3 {
    font-size: 1.8rem;
    margin: 0;
}
.resume-header .material-symbols-outlined {
    font-size: 2rem;
    color: var(--text-secondary);
}
.timeline {
    position: relative;
    padding-left: 24px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
    border-radius: 2px;
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: -28px;
    top: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    z-index: 2;
}
.timeline-content {
    padding: 24px 32px;
}
.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.timeline-company {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}
.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    padding: 4px 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 100px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}
[data-theme="dark"] .timeline-date {
    background: rgba(255,255,255,0.1);
}
.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

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

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-item:hover {
    background: rgba(255,255,255,0.9);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* arbitrary large value */
    margin-top: 16px;
}

.faq-item.active .expand-icon {
    transform: rotate(45deg);
}
.expand-icon {
    transition: transform 0.3s ease;
}

/* CTA Section */
.cta-glass-box {
    position: relative;
    background: var(--text-primary);
    color: white;
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-glass-box h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.cta-glass-box p {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Background floating orbs for CTA */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #4285F4;
    top: -100px;
    left: -50px;
    animation: float 8s infinite alternate;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #D96570;
    bottom: -150px;
    right: -100px;
    animation: float 10s infinite alternate-reverse;
}

.cta-btn2 {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.cta-btn2:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Footer */
footer {
    padding: 60px 5%;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: white;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

/* Animations */
.hidden-onload {
    opacity: 0;
}

.fade-up {
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor typing effect */
.cursor {
    display: inline-block;
    width: 4px;
    height: 1em;
    background: var(--text-primary);
    margin-left: 8px;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Scroll reveal classes */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dark Mode Overrides */
[data-theme="dark"] .btn-primary { background-color: var(--text-primary); color: #0a0a0a; }
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .btn-outline:hover { background: rgba(255,255,255,0.05); }
[data-theme="dark"] .glass-btn { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text-primary); }
[data-theme="dark"] .glass-btn:hover { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .navbar { background: rgba(10, 10, 10, 0.8); border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] footer { background: var(--bg-primary); border-top-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .stat-card { background: rgba(20, 20, 20, 0.85); }
[data-theme="dark"] .hero-badge { background: rgba(138, 180, 248, 0.1); color: #8ab4f8; border-color: rgba(138, 180, 248, 0.2); }
[data-theme="dark"] .trend-up { background: rgba(129, 201, 149, 0.15); color: #81C995; }
[data-theme="dark"] .cta-glass-box { background: #111111; border: 1px solid rgba(255,255,255,0.05); }

/* Global Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar { padding: 0 5%; }
    .nav-links { gap: 12px; }
    .nav-links a:not(.btn):not(#theme-toggle) { display: none; } /* Hide text links to save space */
    .btn-outline { padding: 8px 16px; font-size: 0.9rem; } /* Slightly smaller Nav CTA */
    
    h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
    h2.section-title { font-size: 2rem; }
    .hero { padding: calc(var(--nav-height) + 40px) 5% 40px; }
    
    .hero-ctas { flex-direction: column; width: 100%; max-width: 320px; margin-left: auto; margin-right: auto; }
    .hero-ctas .btn { justify-content: center; width: 100%; }
    
    .trust-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: left;
    }
    .hero-visual { margin-top: 40px; }
}

@media (max-width: 600px) {
    .glass-panel { padding: 24px; }
    .cta-glass-box { padding: 40px 20px; }
    .cta-glass-box h2 { font-size: 2rem; }
    .stat-num { font-size: 2.2rem; }
    .trust-bar { grid-template-columns: 1fr; text-align: center; }
    .trust-item { justify-content: center; }
    .about-stats-container { grid-template-columns: 1fr; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .social-links { justify-content: center; }
}
