/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/ClientSide/css.css to edit this template
*/
/* 
    Created on : Dec 8, 2025, 3:40:46 PM
    Author     : zmuku
*/


:root {
    --bg: #ffffff;
    --text: #111827;
    --card: #ffffff;
    --accent: #3b82f6;
}

[data-theme="dark"] {
    --bg: #0f172a;
    --text: #ffffff;
    --card: #1e293b;
    --accent: #3b82f6;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: background .3s, color .3s;
    font-family: system-ui, sans-serif;
}

.navbar {
    background: rgba(150, 204, 255, 0.05);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.105);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    margin-top: -5px;
    margin-bottom: -5px;

}

.navbar.scrolled {
    background: rgb(29, 142, 255);
    box-shadow: none;
}


.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}


.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    background-color: #fff;
    transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
    box-shadow: #020617 10px;
}

.ai-section {
    padding: 2rem 0;
}

.telecom-section {
    padding: 2rem 0;
}

.cyber-section {
    padding: 2rem 0;
}


html[data-theme="light"] .ai-section.gray {
    background-color: #f5f6f8;
}

/* Dark mode gray */
html[data-theme="dark"] .ai-section.gray {
    background-color: #16181d;
}

html[data-theme="light"] .telecom-section.gray {
    background-color: #f5f6f8;
}

html[data-theme="light"] .cyber-section.gray {
    background-color: #f5f6f8;
}

/* Dark mode gray */
html[data-theme="dark"] .cyber-section.gray {
    background-color: #16181d;
}

html[data-theme="light"] .telecom-section.gray {
    background-color: #f5f6f8;
    
}

.telecom-section.opacity {
    background-color: #ffffff;
    opacity: 1;
    
}

/* Dark mode gray */
html[data-theme="dark"] .telecom-section.gray {
    background-color: #16181d;
}

.ai-section img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.bi-section {
    padding: 4rem 0;
}

html[data-theme="light"] .bi-section.gray {
    background-color: #f5f6f8;
}

/* Dark mode gray */
html[data-theme="dark"] .bi-section.gray {
    background-color: #16181d;
}

html[data-theme="light"] .pm-section.gray {
    background-color: #f5f6f8;
}

/* Dark mode gray */
html[data-theme="dark"] .pm-section.gray {
    background-color: #16181d;
}

.bi-section img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.bi-section .card{
    background-color: var(--card) !important;
    color: var(--text);
}

.cyber-section .card{
    background-color: var(--card) !important;
    color: var(--text);
}

.telecom-section .card{
    background-color: var(--card) !important;
    color: var(--text);
}

.pm-section .card{
    background-color: var(--card) !important;
    color: var(--text);
}

/* AI ICON LIST */
.ai-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ai-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.ai-list i {
    font-size: 1.25rem;
    color: #0d6efd; /* Bootstrap primary */
    margin-top: 2px;
}

/* Dark mode icon color */
html[data-theme="dark"] .ai-list i {
    color: #66b2ff;
}


ul {
    opacity: 100%;
    text-align: center;
    justify-content: center;

}

ul li {
    justify-content: center;
    margin: 10px;
    --text: #ffffff;
}

.text-page ul li{
    justify-content: left;
    text-align: left;
    margin: 10px;
    margin-top: 30px;
}

ul li a {
    color: #ffffff;
}


#TrDm ul li{
    justify-content: right;
    margin: 0px;
}

#nav ul {
    text-align: left;
}

#nav ul li {
    text-align: left;
    margin: 10px;
    margin-left: 0px;
    --text: #ffffff;
    opacity: 100%;
}

/* HERO */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* SERVICES */
.service-tile {
    position: relative;
    height: 560px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.service-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.service-tile:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity .3s;
}

.service-tile:hover .service-overlay {
    opacity: 1;
}

/* FOOTER */
footer {
    background: #020617;
    color: #94a3b8;
}

footer a {
    color: #e5e7eb;
    text-decoration: none;
}

.toggle-btn {
    cursor: pointer;
}

/* Contact card style */
.contact-card {
    background-color: var(--card) !important;
    color: var(--text);
    border-radius: 15px;
    margin-bottom: 20px;
    margin-top: -60px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

/* Headings and labels inside the card */
.contact-card h2,
.contact-card label {
    color: var(--text);
}

/* Form controls */
.contact-card .form-control {
    background-color: var(--bg);
    color: var(--text);
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-card .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5); /* matches accent color */
}

/* Submit button */
.contact-card .btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-card .btn-primary:hover {
    background-color: #1d4ed8; /* slightly darker on hover */
    transform: translateY(-2px);
}

.icon-telecom {
    color: #0d6efd;
    transition: transform 0.3s ease, color 0.3s ease;
}

.expertise-card {
    min-height: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.expertise-card:hover .icon-telecom {
    transform: scale(1.15);
    color: #0a58ca;
}

/* Dark mode */
[data-theme="dark"] .expertise-card {
    background-color: #ffffff;
    color: #ffffff;
}

.logo-scroller-wrapper {
    overflow: hidden;
    width: 100%;
}

.logo-scroller {
    display: flex;
    width: max-content;
    animation: scroll-left 50s linear infinite; /* slower scroll */
    align-items: center;
    margin-top: -40px;
}

.logo-item {
    flex: 0 0 350px; /* fixed width for all items */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    padding: 50px;
}

.logo-img {
    max-height: 80px; /* bigger logos */
    margin-bottom: 8px;
}


@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


