/* ============================================
   VALIDICA - Professional Pharmaceutical Style
   ============================================ */

:root {
    /* Colors - Primary */
    --primary: #d63384;
    --primary-light: #e25da1;

    /* Colors - Neutrals */
    --white: #ffffff;
    --gray-100: #f8f9fc;
    --gray-300: #d1d5e0;

    /* Colors - Dark palette (hero, about, footer) */
    --dark-bg-1: #1b3360;
    --dark-bg-2: #1e3a6e;
    --dark-bg-3: #22406e;
    --dark-bg-4: #192e55;
    --gradient-dark: linear-gradient(160deg, var(--dark-bg-1) 0%, var(--dark-bg-2) 35%, var(--dark-bg-3) 65%, var(--dark-bg-4) 100%);

    /* Colors - Text */
    --text-dark: #1a1a2e;
    --text-body: #4a4a68;
    --text-light: #6b6b8a;
    --text-on-dark: rgba(255, 255, 255, 0.85);
    --text-on-dark-muted: rgba(255, 255, 255, 0.7);

    /* Colors - Primary alpha variants */
    --primary-glow-strong: rgba(214, 51, 132, 0.8);
    --primary-glow-medium: rgba(214, 51, 132, 0.6);
    --primary-glow-soft: rgba(214, 51, 132, 0.4);
    --primary-glow-subtle: rgba(214, 51, 132, 0.25);
    --primary-glow-faint: rgba(214, 51, 132, 0.1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(214, 51, 132, 0.08);
    --shadow-md: 0 4px 24px rgba(214, 51, 132, 0.12);

    /* Typography scale */
    --text-sm: 0.9rem;
    --text-md: 1.1rem;
    --text-xl: 2rem;
    --text-2xl: 2.2rem;
    --text-3xl: 2.5rem;

    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 30px;
    --space-lg: 50px;
    --space-xl: 80px;
    --space-2xl: 100px;

    /* Misc */
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

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

/* ============================================
   NEON SCROLL EFFECTS
   ============================================ */

.neon-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow-strong), 0 0 20px var(--primary-glow-soft);
    transition: width 0.05s linear;
}


body {
    font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-on-dark-muted);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
    letter-spacing: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow-medium), 0 0 20px var(--primary-glow-soft);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-full {
    width: 100%;
}

/* ============================================
   SECTION COMMON
   ============================================ */

.section-tag {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    display: flex;
    align-items: flex-start;
    padding: 10px 0 40px;
    background: var(--gradient-dark);
}

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-logo {
    height: 420px;
    width: auto;
    margin: 20px 0 20px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 70% at center, black 40%, transparent 70%);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 30px var(--primary-glow-medium));
}

.hero-banner-body {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin: 40px 0;
}

.hero-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-banner-text .highlight {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 6px var(--primary-glow-subtle), 0 0 14px var(--primary-glow-faint);
}

.hero-banner-text h1 {
    font-size: var(--text-2xl);
    color: var(--white);
    margin-bottom: 20px;
}

.hero-banner-text p {
    font-size: var(--text-md);
    color: var(--text-on-dark);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.hero-banner-image {
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-banner-image img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
    padding: var(--space-lg) 0;
    background: var(--white);
}

.services-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-md);
    align-items: start;
}

.services-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 120px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.services-image img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.services-grid {
    display: grid;
    gap: 14px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--gray-100);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
}

.service-text h3 {
    font-size: var(--text-md);
    margin-bottom: 4px;
}

.service-text p {
    font-size: var(--text-sm);
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    padding: var(--space-2xl) 0;
    background: var(--gradient-dark);
    color: var(--text-on-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-content h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.about-content .about-subtitle {
    font-size: var(--text-md);
    color: var(--primary);
    font-weight: 700;
    margin-top: -4px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-content p {
    font-size: var(--text-md);
    margin-bottom: var(--space-sm);
    color: var(--text-on-dark);
    line-height: 1.7;
}

.about-image {
    margin-top: 60px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: var(--space-lg);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1); /* deliberate: transparency on gradient */
    padding: var(--space-md);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-on-dark-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    padding: var(--space-2xl) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-xs);
}

.contact-info > p:not(.section-tag) {
    font-size: var(--text-md);
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.7;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
    flex-shrink: 0;
}

.info-item span,
.info-item a {
    font-size: var(--text-md);
    color: var(--text-body);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary);
}

.contact-image {
    margin: var(--space-md) 0;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--radius);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow-faint);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a4a68' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

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

/* ============================================
   FOOTER
   ============================================ */

.footer {
    padding: 60px 0 var(--space-md);
    background: var(--gradient-dark);
    color: var(--gray-300);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--text-on-dark-muted);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-linkedin svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .services-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner-body {
        flex-direction: column;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 60px;
    }

    .hero-logo {
        height: 500px;
    }

    .hero-nav {
        gap: 30px;
    }

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

    .services-image {
        position: static;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .about-grid {
        gap: 50px;
    }

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

    .contact-grid {
        gap: 50px;
    }

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

    .info-items {
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-nav {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero-logo {
        height: 350px;
    }

    .section-header h2,
    .about-content h2,
    .contact-info h2 {
        font-size: var(--text-xl);
    }

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

    .about-image img {
        margin: 0 auto;
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.reveal--visible {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

/* Fade Up */
.reveal--up {
    transform: translateY(60px);
}

/* Fade Down */
.reveal--down {
    transform: translateY(-60px);
}

/* Fade Left (comes from the right) */
.reveal--left {
    transform: translateX(80px);
}

/* Fade Right (comes from the left) */
.reveal--right {
    transform: translateX(-80px);
}

/* Scale Up */
.reveal--scale {
    transform: scale(0.85);
}

/* Stagger delays for children */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Stat number counter glow effect on reveal */
.stat-card.reveal--visible .stat-number {
    animation: statGlow 0.6s ease forwards;
    animation-delay: 0.3s;
}

@keyframes statGlow {
    0% { text-shadow: none; }
    50% { text-shadow: 0 0 20px var(--primary-glow-strong), 0 0 40px var(--primary-glow-soft); }
    100% { text-shadow: 0 0 10px var(--primary-glow-subtle); }
}

/* Nav bar slide down */
.hero-nav.reveal--down {
    transform: translateY(-30px);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .stat-card.reveal--visible .stat-number {
        animation: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-logo {
        height: 250px;
    }

    .hero-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .services,
    .about,
    .contact {
        padding: 70px 0;
    }

    .stat-number {
        font-size: var(--text-xl);
    }
}
