/* PyjaTech Premium Style Sheet */
:root {
    /* Premium Modern Light Palette */
    --bg-body: #ffffff;
    --bg-secondary: #f8f9fa;
    --primary: #2563eb;
    /* Rich Royal Blue */
    --primary-dark: #1e40af;
    --secondary: #7c3aed;
    /* Deep Violet */
    --accent: #06b6d4;
    /* Cyan */

    --text-main: #1f2937;
    /* Slate 800 */
    --text-muted: #6b7280;
    /* Slate 500 */
    --text-light: #9ca3af;

    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.2);

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #111827;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- Components --- */

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

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

.btn-ghost:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.5);
    /* Light gray border */
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    /* Light, semi-transparent */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.top-bar {
    background: #0f172a;
    /* Keep top bar dark for contrast */
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.contact-quick span {
    margin-right: 20px;
}

.contact-quick i {
    margin-right: 5px;
    color: var(--accent);
}

.social-quick a {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.social-quick a:hover {
    color: var(--white);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #0f172a;
}

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

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: #4b5563;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a:not(.btn):hover,
.main-nav a.active:not(.btn) {
    color: var(--primary);
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, #eff6ff, #ffffff);
    overflow: hidden;
}

/* Abstract Background Shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    color: #0f172a;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* --- Sections Common --- */
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

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

.about-text {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.stats-list {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.stats-list li {
    display: flex;
    flex-direction: column;
}

.stats-list .count {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stats-list .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.tech-orb {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
    animation: float 6s ease-in-out infinite;
}

.tech-orb i {
    font-size: 6rem;
    color: var(--primary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- Services / Features --- */
.services-preview {
    padding: 100px 0;
    background-color: var(--bg-secondary);
}

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

.preview-card,
.feature-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--white);
    /* Ensure Cards are white on gray bg */
}

.preview-card i,
.feature-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Page Headers (Internal Pages) --- */
.page-header {
    padding: 180px 0 80px;
    background: linear-gradient(to right, #0f172a, #1e293b);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

/* --- Careers List --- */
.jobs-section {
    background: var(--bg-secondary);
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    padding: 30px;
    margin-bottom: 20px;
}

.job-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.job-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.badge {
    background: #eff6ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.job-details {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.job-desc {
    color: var(--text-main);
    max-width: 600px;
}

/* --- Blog Grid --- */
.blog-grid,
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

@media (min-width: 1100px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}


.blog-card {
    background: var(--white);
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- Footer --- */
footer {
    background: #05070a;
    padding: 80px 0 20px;
    border-top: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-col ul li {
    color: #94a3b8;
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 40px;
        transition: right 0.4s ease;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}



/* --- Contact Page Styling --- */
.contact-section {
    position: relative;
    background: radial-gradient(circle at center, #f8fafc, #eff6ff);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    /* Stack on mobile */
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Left Side: Gradient Info Panel */
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Abstract circles for flair */
.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    backdrop-filter: blur(5px);
}

.info-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.social-links {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Right Side: Form */
.contact-form-box {
    flex: 1.5;
    min-width: 350px;
    padding: 60px 50px;
    background: var(--white);
}

.contact-form-box h2 {
    color: var(--text-main);
    font-size: 2rem;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

/* Specific Placeholder styling if needed */
::placeholder {
    color: #94a3b8;
}

/* Mobile Responsiveness for Contact */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        padding: 40px 30px;
    }

    .contact-form-box {
        padding: 40px 30px;
    }
}