/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme...
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2026
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate
*/

/* --- BlankSlate Reset Styles --- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}

/* ==========================================================
    VALLEY TECH USA CUSTOM ITAD STYLES
   ========================================================== */

:root {
    --vt-bg: #090d16;
    --vt-surface: #111827;
    --vt-card-bg: rgba(17, 24, 39, 0.75);
    --vt-border: rgba(255, 255, 255, 0.1);
    --vt-text-main: #f3f4f6;
    --vt-text-muted: #9ca3af;
    --vt-primary-blue: #0284c7;
    --vt-primary-green: #10b981;
    --vt-gradient: linear-gradient(135deg, #0284c7 0%, #10b981 100%);
    --vt-glow: rgba(16, 185, 129, 0.3);
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background-color: var(--vt-bg);
    color: var(--vt-text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* --- Navigation & Clean Menu Bar --- */
.abrc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 22, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--vt-border);
    z-index: 1000;
    padding: 12px 0;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header Logo Styling */
.nav-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-brand-logo img {
    max-height: 65px;
    width: auto;
    object-fit: contain;
    display: block;
}

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

.nav-link, .nav-contact-link {
    color: var(--vt-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-contact-link:hover {
    color: var(--vt-primary-green);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--vt-border);
    border-radius: 8px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 4px auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* --- Hero Section --- */
.abrc-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 16px 80px 16px;
    width: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(2, 132, 199, 0.12) 0%, transparent 60%);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subtitle {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--vt-primary-green);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--vt-text-muted);
    margin-bottom: 35px;
}

.abrc-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--vt-gradient);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abrc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.4);
}

/* --- Stats Bar --- */
.abrc-stats-bar {
    padding: 40px 16px;
    border-top: 1px solid var(--vt-border);
    border-bottom: 1px solid var(--vt-border);
    background: rgba(17, 24, 39, 0.4);
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--vt-text-muted);
}

/* --- Sections & Content Blocks --- */
section {
    scroll-margin-top: 90px;
}

.abrc-about-section, .abrc-about-banner, .abrc-services, .abrc-contact-section, .abrc-privacy-section {
    padding: 100px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    max-width: 900px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--vt-card-bg);
    border: 1px solid var(--vt-border);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--vt-primary-green);
}

/* --- Certification Logo Styling & Full-Width Behavior --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.cert-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: #0284c7;
}

.cert-logo-wrapper {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-logo-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.cert-logo-wrapper img {
    width: 100%;
    height: 100%;
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* --- Lightbox Modal Styles --- */
.cert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    cursor: zoom-out;
}

.cert-modal.active {
    opacity: 1;
    visibility: visible;
}

.cert-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 85vh;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

.cert-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    background: #0284c7;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.2s ease, transform 0.2s ease;
}

.cert-modal-close:hover {
    background: #10b981;
    transform: scale(1.1);
}

/* --- Scroll-to-Top Floating Progress Button --- */
.scroll-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: rgba(13, 19, 33, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 0;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.scroll-top-btn svg.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    transform: rotate(-90deg);
    pointer-events: none;
    overflow: visible;
}

.scroll-top-btn svg.progress-ring circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.scroll-top-btn .ring-bg {
    stroke: rgba(255, 255, 255, 0.1);
}

.scroll-top-btn .ring-fill {
    stroke: #10b981;
    stroke-dasharray: 131.9;
    stroke-dashoffset: 131.9;
    transition: stroke-dashoffset 0.1s linear;
}

.scroll-top-btn .arrow-icon {
    color: #ffffff;
    width: 20px;
    height: 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.scroll-top-btn:hover .arrow-icon {
    transform: translateY(-2px);
}

/* --- Mobile Media Queries --- */
@media (max-width: 768px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .cert-card {
        width: 100%;
    }
    .cert-logo-wrapper {
        height: auto !important;
        max-height: none !important;
        padding: 16px;
    }
    .cert-logo-wrapper img {
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        height: auto !important;
        object-fit: contain;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        gap: 25px;
        border-bottom: 1px solid var(--vt-border);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.35s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* --- Footer --- */
.abrc-footer {
    background: #05080f;
    color: var(--vt-text-muted);
    text-align: center;
    padding: 40px 16px;
    width: 100%;
    border-top: 1px solid var(--vt-border);
    font-size: 0.9rem;
}