/* ==================== CORE.CSS ==================== */
/* Core styles used across ALL pages (homepage + service pages + services + about + legal) */

/* ==================== TABLE OF CONTENTS ==================== */
/* 1. BASE STYLES (Variables, Reset, Typography, Container, Buttons, Section Headers) */
/* 2. PRELOADER */
/* 3. CURSOR */
/* 4. NAVBAR (Desktop + Mobile + Mega Dropdown) */


/* ==================== 1. BASE STYLES ==================== */

/* 1.1 Variables */
:root {
    --primary-color: #00f7ff;
    --primary-dark: #00c4cc;
    --secondary-color: #ff4d7d;
    --dark-color: #110a1a;
    --darker-color: #08081a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --dark-gray: #343a40;
    --section-padding: 100px;
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* 1.2 Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--light-color);
    background-color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 1.3 Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* 1.4 Links & Lists */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* 1.5 Media */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 1.6 Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 1.7 Sections */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* 1.8 Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    color: var(--primary-color);
    background-color: transparent;
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

.btn-primary svg {
    margin-left: 8px;
    transition: var(--transition);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.5);
}

/* 1.9 Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 247, 255, 0.2);
    z-index: -1;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
    
    .section-title {
        font-size: 1.9rem;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 0;
        padding-right: 0;
    }
    .section-subtitle {
        font-size: 12px;

    }
}

/* ==================== 2. PRELOADER ==================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    padding: 20px;
    overflow: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Hide main content during load */
main, .navbar, .footer, .cyber-widget {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease 0.1s;
}

/* Show content after load */
body.loaded main,
body.loaded .navbar, 
body.loaded .footer,
body.loaded .cyber-widget {
    opacity: 1;
    visibility: visible;
}

.loading-text {
    display: flex;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.loading-text-words {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(0.08s * var(--i));
    transform: translateZ(0);
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    animation: loading 1s ease-in-out forwards;
}

@keyframes loading {
    0% { width: 0; }
    80% { width: 100%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

/* Preloader Mobile */
@media (max-width: 768px) {
    .preloader {
        padding: 0 10px;
    }
    
    .loading-text-words {
        font-size: 2rem;
        animation-delay: calc(0.06s * var(--i));
    }
    
    .loading-bar {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .loading-text {
        justify-content: center;
    }
    
    .loading-text-words {
        font-size: 1.5rem;
        margin: 0 2px;
        animation-delay: calc(0.05s * var(--i));
    }
    
    .loading-bar {
        width: 120px;
    }
}


/* ==================== 3. CURSOR ==================== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 999;
    transition: transform 0.1s ease;
    display: none;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: none;
}

@media (hover: hover) {
    .cursor, .cursor-follower {
        display: block;
    }
}


/* ==================== 4. NAVBAR ==================== */

/* 4.1 Base Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: transparent;
}

.navbar.sticky {
    background-color: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 4.2 Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

.logo img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

/* 4.3 Desktop Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--light-color);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
}

/* 4.4 Mega Dropdown (Desktop) */
.nav-item {
    position: relative;
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    background: transparent;
    border: none;
    color: var(--light-color);
    font-size: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    display: flex;
    align-items: center;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 700px;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-radius: 12px;
    border: 1px solid rgba(0, 247, 255, 0.2);
    margin-top: 20px !important;
}

.mega-dropdown.active {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.mega-dropdown-container {
    padding: 40px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.mega-column {
    flex: 0 0 auto;
    min-width: 160px;
}

.mega-heading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    letter-spacing: 0.5px;
}

.mega-heading a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.mega-heading a:hover {
    color: var(--primary-color);
}

.mega-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-links li {
    margin-bottom: 12px;
    text-transform: uppercase;
}

.mega-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.3px;
}

.mega-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Desktop dropdown navbar background */
@media (min-width: 993px) {
    .navbar.has-dropdown-open {
        background-color: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* 4.5 Desktop Small Screens */
@media (min-width: 993px) and (max-width: 1200px) {
    .mega-dropdown {
        min-width: 600px;
    }
    
    .mega-dropdown-container {
        padding: 30px;
        gap: 40px;
    }
    
    .mega-column {
        min-width: 140px;
    }
}

/* 4.6 Mobile Navigation (up to 992px) */
@media (max-width: 992px) {
    /* Navbar base */
    .navbar {
        padding: 12px 0;
        background-color: transparent;
        backdrop-filter: none;
    }
    
    .navbar.sticky {
        background-color: rgba(10, 10, 26, 0.95);
        backdrop-filter: blur(10px);
    }
    
    .navbar.menu-open {
        background-color: rgba(10, 10, 26, 0.95) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .logo {
        background: none;
        margin: 0;
        padding: 0;
        z-index: 1003;
    }
    
    .logo img {
        height: 30px;
        width: auto;
    }
    
    .navbar .container {
        padding: 0 16px;
    }
    
    /* Hamburger Menu */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: rgba(0, 247, 255, 0.1);
        border-radius: 10px;
        border: 1px solid rgba(0, 247, 255, 0.2);
        cursor: pointer;
        z-index: 1003;
        margin: 0;
        padding: 0;
    }
    
    .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: var(--light-color);
        margin: 3px 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-5px);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Mobile Menu Panel */
    .nav-links {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 100px 24px 40px;
        transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        box-sizing: border-box;
        margin: 0;
    }
    
    .nav-links.active {
        top: 0;
    }
    
    .nav-links > a,
    .nav-item {
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.4s ease;
    }
    
    .nav-links.active > a,
    .nav-links.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animations */
    .nav-links.active > a:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active > a:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active .nav-item { transition-delay: 0.15s; }
    .nav-links.active > a:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active > a:nth-child(5) { transition-delay: 0.25s; }
    .nav-links.active > a:nth-child(6) { transition-delay: 0.3s; }
    .nav-links.active > a:nth-child(7) { transition-delay: 0.35s; }
    .nav-links.active > a:nth-child(8) { transition-delay: 0.4s; }
    
    /* Mobile Menu Items */
    .nav-links > a {
        display: flex;
        align-items: center;
        padding: 16px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-link-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 16px 0;
    }
    
    .nav-link-wrapper > a {
        flex: 1;
        font-size: 1.1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }
    
    .dropdown-arrow {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: none;
        color: var(--light-color);
        cursor: pointer;
    }
    
    .dropdown-arrow.rotated {
        transform: rotate(180deg);
        background: rgba(0, 247, 255, 0.1);
    }
    
    /* Mobile Mega Dropdown */
    .mega-dropdown {
        position: static;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: none;
        opacity: 0;
        visibility: hidden;
        display: none;
        transition: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin-top: 0;
        transform: none;
        left: auto;
        min-width: auto;
    }
    
    .mega-dropdown.active {
        opacity: 1;
        visibility: visible;
        display: block;
        margin-bottom: 12px;
    }
    
    .mega-dropdown-container {
        flex-direction: column;
        padding: 16px 0 16px 20px;
        gap: 20px;
    }
    
    .mega-heading {
        font-size: 0.9rem;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .mega-heading a {
        font-size: 0.9rem;
    }
    
    .mega-links li {
        margin-bottom: 10px;
    }
    
    .mega-links a {
        font-size: 0.8rem;
        padding: 5px 0;
        display: inline-block;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Mobile menu open navbar adjustments */
    .navbar.menu-open {
        top: 0;
        padding: 12px 0 !important;
    }
    
    .navbar.menu-open .logo {
        background-color: rgba(10, 10, 26, 0.95);
        padding: 28px 0;
        margin: -28px 0;
        border-radius: 0;
        position: relative;
        z-index: 1004;
    }
    
    .navbar.menu-open .nav-toggle {
        margin: -28px 0;
        border-radius: 10px;
        position: relative;
        z-index: 1004;
        background-color: rgba(10, 10, 26, 0.95);
    }
    
    .navbar.menu-open .nav-toggle span {
        background-color: var(--light-color);
    }
}

/* 4.7 Extra Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .logo img {
        height: 30px;
    }
    
    .nav-toggle {
        width: 40px;
        height: 40px;
    }
    
    .nav-toggle span {
        width: 18px;
        margin: 2.5px 0;
    }
    
    .nav-links {
        padding: 90px 20px 30px;
    }
    
    .nav-links > a,
    .nav-link-wrapper {
        padding: 14px 0;
    }
    
    .nav-links > a,
    .nav-link-wrapper > a {
        font-size: 1rem;
    }
    
    .dropdown-arrow {
        width: 36px;
        height: 36px;
        font-size: 10px;
    }
    
    .mega-dropdown-container {
        padding: 12px 0 12px 16px;
        gap: 16px;
    }
    
    .mega-heading {
        font-size: 0.85rem;
    }
    
    .mega-heading a {
        font-size: 0.85rem;
    }
    
    .mega-links a {
        font-size: 0.75rem;
    }
}




/* ==================== HERO SECTION ==================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.85) 0%, rgba(8, 8, 26, 0.7) 50%, rgba(0, 247, 255, 0.1) 100%);
    z-index: -1;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero .hero-content {
    text-align: left;
    max-width: 900px;
    margin: 0;
    background: rgba(8, 8, 26, 0.33);
    backdrop-filter: blur(3px);
    border-radius: 8px;
    padding: 40px;
    border: 1px solid rgba(0, 247, 255, 0.1);
}

.hero .hero-headline {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #00f7ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Orbitron', monospace;
    text-align: left;
}

.hero .hero-headline span {
    background: linear-gradient(135deg, #00f7ff 0%, #ffffff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-family: 'Roboto', sans-serif;
    text-align: left;
}

/* Hero Features */
.hero .hero-features {
    margin: 0 0 32px 0;
    text-align: left;
}

.hero .hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0;
}

.hero .feature-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    object-fit: contain;
    flex-shrink: 0;
}

.hero .feature-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.hero .hero-cta {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero .hero-headline {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .hero .hero-subtitle {
        text-align: left;
    }
    
    .hero .hero-content {
        padding: 30px 20px;
        text-align: left;
    }
    
    .hero .hero-cta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px;
    }
    
    .hero .hero-cta .btn {
        white-space: nowrap;
    }
    
    .hero .hero-features {
        margin: 0 0 28px 0;
        text-align: left;
    }
    
    .hero .hero-feature {
        gap: 10px;
        margin: 6px 0;
        justify-content: flex-start;
    }
    
    .hero .feature-icon {
        width: 15px;
        height: 15px;
    }
    
    .hero .feature-text {
        font-size: 14px;
        text-align: left;
    }
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background-color: #050508;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.services::before {
    content: none !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}


    .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0, 247, 255, 0.02) 2px, rgba(0, 247, 255, 0.02) 6px),
        repeating-linear-gradient(135deg, transparent, transparent 4px, rgba(255, 255, 255, 0.01) 4px, rgba(255, 255, 255, 0.01) 8px);
    pointer-events: none;
    z-index: 0;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-inner {
    position: relative;
    z-index: 2;
}

.service-heading {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--primary-dark)); 
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-flex;
    align-items: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.service-card ul {
    margin-bottom: 25px;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 2px;
    background-color: var(--primary-color);
}

.service-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.highlight {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 247, 255, 0.05);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover .service-card-bg {
    opacity: 1;
}

@media (max-width: 768px) {
    .service-heading {
        flex-direction: row;
        align-items: center;
    }
    
    .service-icon {
        margin-right: 15px;
        margin-bottom: 0;
        width: 50px;
        height: 50px;
    }
    
    .service-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}








/* ==================== PORTFOLIO SECTION ==================== */
.portfolio {
    background-color: #08081a;
    position: relative;
    overflow: hidden;
    padding: 100px 0 30px;
}
.portfolio::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Smooth Top-Only Glows: Increased spread to 40% for a soft transition */
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}



.portfolio-item-inner {
    position: relative;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #1a1a2e;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Make sure it takes full height */
}

.portfolio-item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.2);
}

.portfolio-image-frame {
    height: 280px; /* Increased from 250px for better visibility */
    overflow: hidden;
    position: relative;
    flex-shrink: 0; /* Prevent image from shrinking */
}

.portfolio-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    transition: transform 0.5s ease;
    background: #0a0a1a; /* Add background color for transparent areas */
}

.portfolio-item-inner:hover .portfolio-image-frame img {
    transform: scale(1.03); /* Slight zoom on hover */
}

.portfolio-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 26, 0.9);
    flex-grow: 1; /* Allow content to grow and fill space */
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--light-color);
    font-family: var(--font-secondary);
    letter-spacing: 1px;
}

.portfolio-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 12px 0;
    border: 1px solid rgba(0, 247, 255, 0.3);
    border-radius: 6px;
    margin-top: auto; /* Push button to bottom */
}

.portfolio-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.portfolio-link:hover svg {
    transform: translateX(5px);
}

/* Portfolio CTA Buttons */
.portfolio-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    width: 100%;
}

.portfolio-cta .btn {
    min-width: 220px;
    padding: 6px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Marquee Styles */
.marquee-container {
    position: relative;
    background-color: #00c4cc;
    color: rgb(232, 244, 255);
    padding: 6px 0;
    overflow: hidden;
    width: 100%;
    margin-top: 30px;
}

.marquee {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
    white-space: nowrap;
}

.marquee span {
    padding: 0 40px;
    font-weight: 600;
    font-size: 18px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .portfolio {
        padding: 60px 0 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 25px;
        margin-top: 40px;
    }
    
    .portfolio-image-frame {
        height: 35vh; /* Use viewport height for larger images */
        min-height: 250px; /* Minimum height */
        max-height: 300px; /* Maximum height */
    }
    
    .portfolio-content {
        padding: 20px;
    }
    
    .portfolio-content h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .portfolio-desc {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .portfolio-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
    }
    
    .portfolio-cta .btn {
        width: 100%;
        max-width: 280px; /* Better width for mobile */
        min-width: auto; /* Remove min-width constraint */
    }
    
    .marquee {
        animation: marquee-scroll 5s linear infinite;
    }
    
    .marquee span {
        padding: 0 25px; /* Adjusted padding for mobile */
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}



/* --- Header Alignment Fix --- */
.blueprint-header-override {
    text-align: left; /* Desktop Default */
    margin-bottom: 60px;
}

.blueprint-header-override .section-description {
    margin: 0; /* Reset global 'margin: 0 auto' to keep it left-aligned */
}

.blueprint-header-override .section-title {
    white-space: nowrap; /* Keeps heading in one line on desktop */
    font-size: 2.3rem;
}

.blueprint-section {
    background-color: #050508;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.blueprint-section::before {
    content: none !important;
}

.blueprint-pipeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}

.main-spine {
    display: none; /* Mobile Only */
}

/* --- Content & Nodes --- */
.b-step {
    flex: 1;
    position: relative;
    padding: 0 20px;
}

.b-step::before {
    content: attr(data-step);
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 7rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.08;
    z-index: 0;
}

.b-node {
    width: 16px;
    height: 16px;
    background: #050508;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-color);
}

.b-node::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    animation: subtleBlip 3s infinite ease-in-out;
}

@keyframes subtleBlip {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.b-tag {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.b-content h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
    min-height: 2.8rem; /* Forces exactly 2 lines (1.1rem × 2 lines × 1.3 line-height ≈ 2.86rem) */
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.b-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* --- Mobile Fixes --- */
@media (max-width: 991px) {
    /* Center Header on Mobile */
    .blueprint-header-override {
        text-align: center;
    }
    
    .blueprint-header-override .section-description {
        margin: 0 auto;
    }

    .blueprint-header-override .section-title {
        white-space: normal; /* Allow wrap for small mobile screens */
        font-size: 1.9rem;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 0;
        padding-right: 0;
    }

    .blueprint-pipeline {
        flex-direction: column;
        padding-left: 50px;
    }

    /* Precision Spined Centering */
    .main-spine {
        display: block;
        position: absolute;
        left: 8px; /* Dead center of the 16px node */
        top: 0;
        bottom: 50px;
        width: 1px;
        background: var(--primary-color);
        opacity: 0.2;
        z-index: 1;
    }

    .b-step {
        padding: 0 0 60px 30px;
    }

    .b-node {
        position: absolute;
        left: -49px; /* Pulls the node back so the spine pierces the center */
        top: 0;
    }

    .b-step::before {
        font-size: 5rem;
        top: -20px;
        left: 0;
        right: 10px;
    }
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials {
    background-color: #08081a;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.testimonials-slider {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    margin-top: 5px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.testimonial-rating {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -15px;
    font-size: 4rem;
    color: rgba(0, 247, 255, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-name {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.company-logo {
    
    width: 120px;
    height: auto;
    margin-top: 0px;
}


.smaller-logo {
     width: 90px;
}
.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-dot.active {
    background-color: var(--primary-color);
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background-color: #050508;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}
.contact::before {
    content: none !important;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.contact-info {
    max-width: 500px;
}

.contact-details {
    margin-top: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-detail:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: rgba(0, 247, 255, 0.3);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-text a {
    font-size: 0.9rem;
    color: var(--light-color);
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--primary-color);
}

.contact-form {
    position: relative;
    background-color: #0a0a1a;
    border-radius: var(--border-radius);
    padding: 30px;
    z-index: 1;
    overflow: hidden;
    border: none; /* Removed the old border to let the animation shine */
}

/* The Animated Light Layer (Double Snake) */
.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Two light segments starting at 0% and 50% */
    background: conic-gradient(
        rgba(0, 247, 255, 0) 0%, 
        rgba(0, 247, 255, 0.5) 10%, 
        rgba(0, 247, 255, 0) 20%,
        rgba(0, 247, 255, 0) 50%, 
        rgba(0, 247, 255, 0.5) 60%, 
        rgba(0, 247, 255, 0) 70%
    );
    animation: rotate-border 6s linear infinite;
    z-index: -2;
}

/* The Mask Layer + Soft Inner Glow */
.contact-form::after {
    content: '';
    position: absolute;
    inset: 2px; /* The thickness of the animated border */
    background: #0a0a1a;
    border-radius: calc(var(--border-radius) - 1px);
    z-index: -1;
    /* Adds a very faint blue tint to the inside edge */
    box-shadow: inset 0 0 10px rgba(0, 247, 255, 0.05);
}

@keyframes rotate-border {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.836);
    pointer-events: none;
    transition: var(--transition);
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-family: var(--font-primary);
    transition: var(--transition);
}

/* FIXED: Select dropdown styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

/* Style the dropdown options */
.form-group select option {
    background-color: var(--darker-color);
    color: var(--light-color);
    padding: 10px;
}



/* For Firefox specifically */
@-moz-document url-prefix() {
    .form-group select {
        color: var(--light-color) !important;
        text-shadow: 0 0 0 var(--light-color);
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .form-group select option {
        background-color: var(--darker-color);
        color: var(--light-color);
    }
}

/* For Internet Explorer */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-group select {
        color: var(--light-color);
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .form-group select::-ms-value {
        background-color: transparent;
        color: var(--light-color);
    }
    
    .form-group select option {
        background-color: var(--darker-color);
        color: var(--light-color);
    }
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(0, 247, 255, 0.05);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    background-color: var(--darker-color);
    padding: 0 5px;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .contact-details {
        margin-top: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
   
}

@media (max-width: 480px) {
    .contact-detail {
        flex-direction: row;
        align-items: center;
        padding: 12px;
    }
    
    .contact-icon {
        margin-right: 12px;
        margin-bottom: 0;
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .contact-text a {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }

    
}

/* ==================== FAQ SECTION ==================== */
.faq {
    background-color: #08081a;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}
.faq::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 100% 0%, rgba(0, 247, 255, 0.1) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 247, 255, 0.3);
}

.faq-question {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 247, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.7);
}


/* ==================== FOOTER STYLES ==================== */
.footer {
    background-color: #050508;
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
}
.footer::before {
    content: none !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-col {
    margin-bottom: 20px;
    text-align: center;
}

/* Fix for logo centering - more specific selector */
.footer-grid > .footer-col:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Ensure the logo image is properly centered */
.footer-col img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100%;
    height: auto;
}

/* FIX: Make paragraph line-height match the link line-height */
.footer-col p {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1px;
    max-width: 100%;
    line-height: 1.9; /* Match this with the links line-height */
}

.footer-title {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
    text-decoration: none;
    line-height: 1.6; /* Set explicit line-height to match paragraph */
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links li a:hover::before {
    opacity: 1;
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Keep items centered */
    list-style: none;
    padding: 0;
}

.footer-contact li {
    width: 100%;
    text-align: center; /* Keep text centered */
}

/* Make contact items clickable */
.footer-contact li a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.contact-item {
    display: inline-flex;

    gap: 3px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    line-height: 1.6; /* Match with other items */
}

/* Fix icon alignment */
.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1.6; /* Match icon line height */
}

/* Hover effects for clickable contact items */
.footer-contact li a:hover .contact-item {
    color: var(--primary-color);
}

/* Payment Logos Container */
.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* Payment Logos Styling - Bigger and brighter */
.payment-logo {
    filter: grayscale(100%) brightness(2); /* Much brighter */
    opacity: 0.9;
    transition: var(--transition);
    object-fit: contain;
    width: 55px; /* Bigger */
    height: 40px;
}

/* Special scaling for Visa logo */
.visa-logo {
    transform: scale(1.2); /* Visa logo slightly larger */
    filter: grayscale(120%) brightness(6);
}
.mc-logo {
    padding-left: 3px;

}

.payment-logo:hover {
    filter: grayscale(0%) brightness(1.2);
    opacity: 1;
}

/* Footer Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Footer Legal Links - Same size as copyright text */
.footer-legal-link {
    color: #4ff6fc !important; /* Use icon color */
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px !important; /* Same size as copyright */
    margin: 0 5px;
}

.footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.7) !important; /* Normal color on hover */
}


/* Force footer links to be clickable */
footer-component .footer-legal-link,
footer-component a.footer-legal-link,
[is="footer-component"] .footer-legal-link {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative;
    z-index: 100 !important;
}

/* Make sure the footer container doesn't block events */
footer-component .footer-bottom,
footer-component .footer-bottom p {
    pointer-events: auto !important;
}

/* Very specific selector */
body > footer-component > footer > div > div.footer-bottom > p > a.footer-legal-link {
    pointer-events: auto !important;
    cursor: pointer !important;
}
/* Desktop: Single line with all pipes */
/* Desktop - single line */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom .copyright::after {
    content: " | ";
    margin: 0 10px;
}

/* Mobile - two lines */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-bottom .copyright::after {
        content: none; /* Hide the pipe after copyright */
    }
    
    .legal-links {
        display: flex;
        gap: 10px;
        align-items: center;
    }
}


@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        margin-bottom: 0px;
    }
    
    .footer-bottom {
        margin-top: 30px;
    }
    
    /* Payment logos on mobile */
    .payment-logos {
        gap: 15px;
    }
    
    .payment-logo {
        width: 50px;
        height: 35px;
    }
    
    .visa-logo {
        transform: scale(1.1); /* Slightly smaller scale on mobile */


    }
    .mc-logo {
        padding-right: 2px;
    }
}





/* ==================== CYBER WIDGET ==================== */
.cyber-widget {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  padding: 8px;
  z-index: 9999;
  width: 110px;
  box-shadow: 0 2px 12px rgba(0, 247, 255, 0.15);
  font-family: 'Roboto', sans-serif;
}

.widget-line {
  display: flex;
  gap: 8px;
  padding: 6px 0;
}

.widget-line:not(:last-child) {
  border-bottom: 1px solid rgba(0, 247, 255, 0.1);
}

.icon {
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.secure-line .icon { color: #00f7ff; }
.visitors-line .icon { color: var(--primary); }
.projects-line .icon { color: var(--accent); }

.text-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.first-line {
  font-size: 0.7rem;
  color: var(--light);
  line-height: 1.2;
}

.second-line {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.2;
}

#visitor-count,
#project-count {
  font-family: 'Orbitron', sans-serif;
  color: var(--secondary);
  margin-right: 4px;
}

@media (max-width: 768px) {
  .visitors-line .text-container,
  .projects-line .text-container {
    flex-direction: column;
  }
  
  .visitors-line .first-line,
  .projects-line .first-line {
    display: flex;
    align-items: center;
  }
  
  .visitors-line .second-line,
  .projects-line .second-line {
    padding-left: 20px;
    margin-top: -4px;
  }
}

@media (min-width: 769px) {
  .cyber-widget {
    width: 170px;
    height: 110px;
    padding: 10px 12px;
    bottom: 20px;
    right: 20px;
  }
  
  .text-container {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }
  
  .first-line,
  .second-line {
    font-size: 0.75rem;
    display: inline;
  }
  
  .second-line::before {
    content: " ";
  }
  
  .visitors-line .second-line,
  .projects-line .second-line {
    padding-left: 0;
    margin-top: 0;
  }
}

/* ==================== RESPONSIVE STYLES ==================== */












/* ==================== POPUP MODAL STYLES ==================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* High but not blocking navigation */
    padding: 20px;
}

.popup-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid #00f7ff7a;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: popupSlideIn 0.3s ease-out;
}

.compact-popup {
    max-width: 380px;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 29px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    color: #00f7ff;
}

.popup-content h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.popup-subtitle {
    color: #ccc;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1rem;
}

.popup-subtitle .highlight {
    color: #00f7ff;
    font-weight: 600;
}

.popup-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.benefit {
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 0;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #00f7ff;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder {
    color: #888;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.popup-note {
    color: #888;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

/* Ensure main content is accessible when popup is hidden */
body:not(.popup-active) main {
    position: relative;
    z-index: 1;
}








/* ==================== CARD & COMPONENT ENHANCEMENTS ==================== */

/* Increase overall text contrast */
body {
    color: rgba(255, 255, 255, 0.95);
}

/* Consistent card styling */
.service-card,
.testimonial-card,
.mission-card,
.faq-item,
.contact-detail,
.portfolio-item-inner {
    background-color: rgba(10, 15, 35, 0.9) !important;
    border: 1px solid rgba(0, 247, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 10, 20, 0.4) !important;
    transition: all 0.3s ease !important;
}

/* Remove old gradient overlay */
.service-card-bg {
    display: none !important;
}

/* Improve text readability in cards */
.service-card p,
.testimonial-card p,
.mission-card p,
.faq-answer p,
.portfolio-desc {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.7;
}

/* Consistent hover effect for all cards */
.service-card:hover,
.testimonial-card:hover,
.mission-card:hover,
.faq-item:hover,
.contact-detail:hover,
.portfolio-item-inner:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 40px rgba(0, 247, 255, 0.25) !important;
    border-color: rgba(0, 247, 255, 0.8) !important;
    background-color: rgba(15, 25, 45, 0.95) !important;
}

/* Hero section visibility */
.hero-content::before {
    background: rgba(8, 15, 30, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 247, 255, 0.4) !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Section headers enhancement */
.section-title {
    text-shadow: 0 2px 10px rgba(0, 20, 40, 0.6);
}

.section-description {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* List item visibility */
.service-card ul li {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card ul li::before {
    background-color: var(--primary-color) !important;
    width: 10px !important;
    height: 3px !important;
}

/* Video overlay enhancement */
.video-overlay {
    background: linear-gradient(
        135deg,
        rgba(8, 15, 30, 0.9) 0%,
        rgba(5, 10, 25, 0.85) 50%,
        rgba(0, 247, 255, 0.2) 100%
    ) !important;
}

/* ==================== MOBILE BORDER ENHANCEMENT ==================== */
@media (max-width: 768px) {
    section .service-card,
    section .testimonial-card,
    section .mission-card,
    section .faq-item,
    section .contact-detail,
    section .portfolio-item-inner {
        border-width: 1.2px !important;
        border-color: rgba(0, 247, 255, 0.4) !important;
    }
    
    .service-card,
    .testimonial-card,
    .portfolio-item-inner {
        padding: 25px 20px !important;
    }
    
    /* Hero border on mobile */
    .hero .hero-content::before {
        background: rgba(10, 18, 35, 0.85) !important;
        border: 1.2px solid rgba(0, 247, 255, 0.5) !important;
    }
    
    /* Hover borders on mobile */
    section .service-card:hover,
    section .testimonial-card:hover,
    section .mission-card:hover,
    section .faq-item:hover,
    section .contact-detail:hover,
    section .portfolio-item-inner:hover {
        border-width: 1.2px !important;
        border-color: rgba(0, 247, 255, 0.9) !important;
    }
}




/* ==================== MAIN SERVICES SHOWCASE (Main Pages Only - 3 pages) ==================== */
.main-services-showcase {
    padding: 100px 0;
    background-color: #050508;
    position: relative;
}

.main-services-showcase .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.main-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.main-service-card {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 247, 255, 0.02) 2px,
            rgba(0, 247, 255, 0.02) 6px
        ),
        repeating-linear-gradient(
            135deg,
            transparent,
            transparent 4px,
            rgba(255, 255, 255, 0.01) 4px,
            rgba(255, 255, 255, 0.01) 8px
        );
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(0, 247, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-service-card:hover {
    transform: translateY(-10px);
    border-color: #00f7ff;
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.1);
    background-color: rgba(15, 25, 45, 0.95);
}

.main-service-icon {
    font-size: 2.5rem;
    color: #00f7ff;
    margin-bottom: 20px;
}

.main-service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f8f9fa;
    font-family: 'Orbitron', monospace;
    min-height: 50px;
}

.main-service-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-learn-more {
    color: #00f7ff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-learn-more:hover {
    color: #ffffff;
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .main-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .main-service-card h3 {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .main-services-grid {
        grid-template-columns: 1fr;
    }
    
    .main-services-showcase {
        padding: 60px 0;
    }
}




