/* ============================================
   DashVision IT Services – Custom Styles
   (Same theme/colors as the original Maxvigo site)
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --primary-color: #27A9E1;
    --secondary-color: #1a8abf;
    --dark-color: #262626;
    --light-color: #f8f9fa;
    --text-color: #6c757d;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* === UTILITY CLASSES === */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 0 auto 2rem;
}

/* === NAVBAR === */
#mainNav {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border: 2px solid var(--white);
}

/* === HERO SECTION (Digital / Modern) === */
.hero-section.it-hero {
    position: relative;
    background: radial-gradient(ellipse at 75% 20%, #123a5c 0%, #0a1c30 50%, #060f1c 100%);
    overflow: hidden;
}

.it-hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(39, 169, 225, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(39, 169, 225, 0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    animation: itGridPulse 6s ease-in-out infinite;
}

@keyframes itGridPulse {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 1; }
}

.it-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    animation: itFloat 12s ease-in-out infinite;
    pointer-events: none;
}
.it-hero-glow.glow-1 {
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(39, 169, 225, 0.22), transparent 70%);
    top: -160px; right: -120px;
}
.it-hero-glow.glow-2 {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15), transparent 70%);
    bottom: -140px; left: -100px;
    animation-delay: -6s;
}

@keyframes itFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(24px, -18px) scale(1.05); }
    66%      { transform: translate(-18px, 14px) scale(0.96); }
}

.hero-section.it-hero .container { position: relative; z-index: 2; }

.it-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: #4fe3ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 50px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: #4fe3ff;
    border-radius: 50%;
    display: inline-block;
    animation: itBadgePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes itBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 227, 255, .7); }
    50%      { box-shadow: 0 0 0 6px rgba(79, 227, 255, 0); }
}

.it-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
}

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

.it-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 540px;
}

.it-hero-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(6px);
}

/* Floating dashboard mockup */
.it-mockup-wrap {
    position: relative;
    max-width: 460px;
    margin: 0 auto;
}

.it-mockup-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, rgba(39, 169, 225, 0.25), transparent 70%);
    filter: blur(8px);
    z-index: 0;
}

.it-mockup-window {
    position: relative;
    z-index: 1;
    background: #0f2138;
    border: 1px solid rgba(39, 169, 225, 0.25);
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    animation: itMockupFloat 6s ease-in-out infinite;
}

@keyframes itMockupFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.it-mockup-topbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #0a1930;
    border-bottom: 1px solid rgba(39, 169, 225, 0.15);
}

.it-mockup-topbar .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.it-mockup-body { padding: 24px; }

.it-mockup-line {
    height: 10px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgba(39, 169, 225, 0.35), rgba(39, 169, 225, 0.1));
    margin-bottom: 12px;
}
.it-mockup-line.w-100 { width: 100%; }
.it-mockup-line.w-75  { width: 75%; }
.it-mockup-line.w-60  { width: 60%; }
.it-mockup-line.w-50  { width: 50%; }

.it-mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 90px;
    margin: 18px 0;
}
.it-mockup-chart span {
    flex: 1;
    height: var(--h, 40%);
    background: linear-gradient(180deg, #4fe3ff, var(--primary-color));
    border-radius: 4px 4px 0 0;
    animation: itBarGrow 1.4s ease both;
}

@keyframes itBarGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}

.it-float-badge {
    position: absolute;
    width: 54px;
    height: 54px;
    background: #0f2138;
    border: 1px solid rgba(39, 169, 225, 0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #4fe3ff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    z-index: 2;
    animation: itFloat 8s ease-in-out infinite;
}

.badge-cloud  { top: -18px; left: -18px; }
.badge-mobile { top: -18px; right: -18px; animation-delay: -2s; }
.badge-shield { bottom: -18px; left: -18px; animation-delay: -4s; }
.badge-code   { bottom: -18px; right: -18px; animation-delay: -6s; }

@media (max-width: 991.98px) {
    .it-mockup-wrap { margin-top: 3rem; }
}

.hero-buttons {
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

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

.hero-buttons .btn-primary:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* === ABOUT SECTION === */
.about-image img {
    border-radius: 15px;
    transition: var(--transition);
}

.about-image img:hover {
    transform: scale(1.05);
}

.mission-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mission-card h5 {
    color: var(--dark-color);
    font-weight: 600;
}

/* === REASON CARDS === */
.reason-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.reason-icon {
    transition: var(--transition);
}

.reason-card:hover .reason-icon i {
    transform: scale(1.2) rotate(10deg);
}

/* === SERVICE CARDS === */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-top-color: var(--secondary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* === PRODUCT CARDS === */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.product-image {
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 2rem;
}

.product-content h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* === CUSTOMERS SECTION === */
.customers-banner {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.customers-banner img {
    transition: var(--transition);
}

.customers-banner:hover img {
    transform: scale(1.02);
}

/* === GALLERY === */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 169, 225, 0.8);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::before {
    opacity: 1;
}

/* === CAREER CARDS === */
.career-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--primary-color);
}

.career-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-left-color: var(--secondary-color);
}

.career-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.career-icon i {
    font-size: 2rem;
    color: var(--white);
}

.career-card h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.career-requirements {
    list-style: none;
    padding: 0;
}

.career-requirements li {
    padding: 0.5rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.career-requirements li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* === CONTACT SECTION === */
.contact-info-card,
.contact-form-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: start;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 1.5rem;
    width: 40px;
}

.contact-item h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(39, 169, 225, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(39, 169, 225, 0.3);
}

.btn-secondary {
    background: var(--text-color);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, var(--dark-color), #1a1a1a);
    color: var(--white);
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

/* === BRAND LOGO (shared across DashVision Group) === */
.logo-img {
    height: 46px !important;
    width: auto !important;
    transition: var(--transition);
}
.logo-img:hover { transform: scale(1.05); }
.logo-text-fallback { display: none; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: 'Poppins', sans-serif; font-size: 1.05rem; font-weight: 800; color: var(--white); letter-spacing: 1px; }
.logo-vision { color: #eaf7ff; }
.logo-name sup { font-size: 0.55rem; vertical-align: super; }
.logo-tag {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, .8);
    text-transform: uppercase;
}

/* === CROSS-PROMO BAR (link to Cybersecurity division) === */
.cross-promo-bar {
    background: linear-gradient(135deg, var(--dark-color), #0f2436);
    color: var(--white);
    padding: 0.85rem 0;
    font-size: 0.95rem;
    font-weight: 500;
}
.cross-promo-bar .btn-light {
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    padding: 0.3rem 1rem;
}
.cross-promo-bar .btn-light:hover { background: var(--light-color); }

/* === SCROLL TO TOP BUTTON === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(39, 169, 225, 0.4);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-image {
        height: 200px;
    }
}

/* === LOADING ANIMATION === */
.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
