/* ============================================
   VALLEY IT SERVICES – Custom Styles
   Design inspired by valleyit.group
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');


:root {
    --navy: #001A4D;
    --navy-light: #0A2A6E;
    --navy-dark: #000F2E;
    --sky: #3399FF;
    --sky-light: #66B3FF;
    --cyan: #00D4FF;
    --white: #FFFFFF;
    --gray-50: #F7F9FC;
    --gray-100: #EEF1F6;
    --gray-400: #94A3B8;
    --gray-600: #64748B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.font-inter {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Text Color Utilities */
.text-navy {
    color: var(--navy);
}

/* ---- NAVIGATION ---- */
.nav-link {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sky);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--sky);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: var(--navy);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-link-cta:hover {
    background: var(--sky);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(51, 153, 255, 0.3);
}

.nav-scrolled {
    box-shadow: 0 4px 30px rgba(0, 26, 77, 0.08);
}

/* ---- HERO SECTION ---- */
.hero-bg {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, var(--navy-light) 100%);
    position: relative;
}

.dot-pattern-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(51, 153, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    z-index: 1;
    opacity: 0.6;
}

.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--gray-50), transparent);
    z-index: 2;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sky);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(51, 153, 255, 0.3);
}

.btn-primary:hover {
    background: var(--sky-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 153, 255, 0.4);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ---- STATS CARDS ---- */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 26, 77, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--navy), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ---- SECTION HEADINGS ---- */
.section-label {
    color: var(--sky);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-label-light {
    color: var(--cyan);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray-600);
    max-width: 36rem;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---- DARK SECTION ---- */
.section-dark {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(51, 153, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* ---- PORTFOLIO CARDS ---- */
.portfolio-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky), var(--cyan));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 26, 77, 0.1);
    border-color: transparent;
}

.portfolio-card:hover::before {
    transform: scaleX(1);
}

.portfolio-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* ---- SERVICE CARDS (Dark) ---- */
.service-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(51, 153, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--sky), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    padding: 0.4rem 0 0.4rem 1.25rem;
    position: relative;
    line-height: 1.5;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sky);
}

/* ---- SERVICE CARDS (Light) ---- */
.service-card-light {
    background: white;
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sky), var(--cyan));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 26, 77, 0.08);
    border-color: transparent;
}

.service-card-light:hover::before {
    transform: scaleX(1);
}

.service-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.service-list-dark {
    list-style: none;
    padding: 0;
}

.service-list-dark li {
    color: var(--gray-600);
    font-size: 0.85rem;
    padding: 0.35rem 0 0.35rem 1.25rem;
    position: relative;
    line-height: 1.5;
}

.service-list-dark li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sky);
}

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy), #0D3B8F);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 212, 255, 0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* ---- FOOTER ---- */
.footer-bg {
    background: var(--navy-dark);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-200 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-300 {
    animation-delay: 0.3s;
    opacity: 0;
}

/* Scroll-triggered animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* Smooth scrolling offset for fixed nav */
html {
    scroll-padding-top: 5rem;
}

/* Remove text decoration from all links */
a {
    text-decoration: none;
}

/* ---- CUSTOM SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--sky), var(--cyan));
    border-radius: 5px;
    border: 2px solid var(--navy-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--sky-light), var(--cyan));
}

/* Firefox scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--sky) var(--navy-dark);
}