/* ==========================================================================
   Pntix Premium Enterprise Theme - style.css
   ========================================================================== */

/* Variables */
:root {
    /* Colors */
    --primary-color: #0055FF; /* Strong vibrant blue */
    --primary-hover: #0044CC;
    --secondary-color: #0A2540; /* Deep Enterprise Navy */
    --bg-dark: #001228;
    --text-main: #1A1F36;
    --text-muted: #4F566B;
    --bg-white: #ffffff;
    --bg-light: #F7F9FC; /* Very light slate */
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1280px;
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 64px rgba(10, 37, 64, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--secondary-color);
    letter-spacing: -0.03em;
}

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

/* Utility Classes */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

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

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--secondary-color); }
.text-white { color: var(--bg-white); }
.text-light-grey { color: #A3ACBA; }
.text-center { text-align: center; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 85, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--bg-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--secondary-color);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.btn-outline-dark:hover {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.15rem;
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

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

.brand-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -1px;
    line-height: 1;
}

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

.slogan-text {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
}

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

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

.btn-nav {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Hero Section (Premium Overhaul) */
.hero {
    padding-top: 180px;
    padding-bottom: 140px;
    min-height: 95vh;
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dark Grid Background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Soft Glow */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,85,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge-premium {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(0, 85, 255, 0.15);
    color: #6699FF;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 85, 255, 0.3);
}

.hero-title {
    font-size: 5rem;
    color: var(--bg-white);
    letter-spacing: -2px;
    margin-bottom: 32px;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #A3ACBA;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

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

/* Hero Stat Cards */
.hero-stats {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: -60px auto 60px; /* Pull up to overlap hero */
}

.stat-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 600;
}

/* Section Headers */
.section-header {
    margin-bottom: 80px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
}

.section-header.text-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Grid System */
.grid {
    display: grid;
    gap: 40px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Service Cards */
.service-card {
    background: var(--bg-white);
    padding: 48px 40px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    border-color: rgba(0, 85, 255, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Tech Stack Section */
.tech-stack {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0;
    overflow: hidden;
}

.tech-header {
    text-align: center;
    margin-bottom: 48px;
}

.tech-header h3 {
    color: var(--bg-white);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    opacity: 0.7;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-white);
    letter-spacing: -0.5px;
    padding: 16px 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.tech-item:hover {
    opacity: 1;
    transform: scale(1.05);
    background: rgba(255,255,255,0.1);
}

/* Portfolio Section */
.portfolio-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-img-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1A365D 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-placeholder::after {
    content: 'Enterprise Project \A Confidential Architecture';
    white-space: pre;
    color: rgba(255,255,255,0.3);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.portfolio-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.portfolio-info {
    padding: 40px;
}

.portfolio-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.portfolio-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Leadership Section */
.team-card {
    background-color: var(--bg-white);
    padding: 32px 16px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--bg-light);
}

.team-name {
    font-size: 1.05rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    white-space: nowrap;
}

.team-role {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Appointment Section */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.appointment-content {
    padding-right: 40px;
}

.appointment-content .section-title {
    color: var(--bg-white);
}

.contact-info {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-item {
    color: var(--bg-white);
    margin-bottom: 24px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.appointment-form-wrapper {
    background: var(--bg-white);
    padding: 56px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2rem;
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family);
    font-size: 1.05rem;
    transition: var(--transition);
    background-color: #F8FAFC;
}

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

/* Footer */
.footer {
    background-color: var(--bg-white);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 600;
}

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

.footer-copyright {
    color: #A3ACBA;
    font-size: 0.85rem;
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    width: 100%;
}

/* Sub Pages */
.page-header {
    background-color: var(--secondary-color);
    color: var(--bg-white);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    font-size: 3rem;
}

.page-content {
    padding: 60px 32px;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.75rem;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 12px;
}

.page-content p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.page-content ul {
    margin-left: 24px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.page-content li {
    margin-bottom: 12px;
}

/* Trusted Partners */
.partners {
    padding: 60px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    overflow: hidden;
}

.partners-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #A3ACBA;
    margin-bottom: 40px;
    font-weight: 700;
}

.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white) 0%, transparent 100%);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white) 0%, transparent 100%);
}

.marquee-content {
    display: flex;
    gap: 80px;
    padding: 0 40px;
    animation: scroll 35s linear infinite;
    white-space: nowrap;
    opacity: 0.5;
    filter: grayscale(100%);
}

.marquee-content:hover {
    animation-play-state: paused;
    opacity: 0.8;
    filter: grayscale(0%);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); }
}

.partner-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .hero-stats { grid-template-columns: 1fr; margin-top: 40px; }
    .appointment-container { grid-template-columns: 1fr; gap: 60px; }
    .appointment-content { padding-right: 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 40px; }
    .tech-item { font-size: 1.2rem; padding: 12px 24px; }
}
