/* themes/corporate-tech/assets/css/style.css - Premium Corporate Technology Theme Styles */

/* Modern gradient & variables utilities */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ffffff;
    --accent-color: #00f2fe;
    --bg-color: #ffffff;
    --text-color: #333333;
    --font-size-base: 16px;
    --container-max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 30px rgba(0, 86, 179, 0.08);
}

.tech-gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #020617 100%) !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Smooth transitions & Premium Cards */
.tech-card {
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.06);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.12) !important;
    border-color: rgba(0, 86, 179, 0.2) !important;
}

.tech-card:hover .tech-icon-box {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    transform: rotate(360deg);
}

.tech-icon-box {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 86, 179, 0.07);
    color: var(--primary-color);
    font-size: 1.6rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section */
.tech-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 86, 179, 0.12) 0%, transparent 70%);
    z-index: 1;
}

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

/* Tech Stack items styling */
.tech-stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.tech-stack-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tech-stack-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

/* Timelines / Accords */
.accordion-button:not(.collapsed) {
    background-color: rgba(0, 86, 179, 0.08) !important;
    color: var(--primary-color) !important;
}

/* Team members styling */
.team-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.team-card img {
    height: 320px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.05);
}

.team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    color: #ffffff;
    text-align: center;
}

.team-info h5 {
    margin-bottom: 2px;
    font-weight: 700;
}

.team-info p {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
}

#back-to-top:hover {
    transform: translateY(-3px);
    background: var(--accent-color);
    color: #000;
}

/* Premium Process Flow styling */
.process-step {
    position: relative;
    padding: 30px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.process-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.25);
}

/* WhatsApp Chat Widget */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1050;
}
.whatsapp-trigger-btn {
    width: 54px;
    height: 54px;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.whatsapp-trigger-btn:hover {
    transform: scale(1.1);
}
.whatsapp-chat-box {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}
.whatsapp-chat-header {
    background: #075e54;
    color: #ffffff;
    padding: 20px;
}
.whatsapp-chat-body {
    background: #ece5dd;
    padding: 20px;
    min-height: 120px;
}
.whatsapp-bubble {
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    font-size: 0.9rem;
    color: #333333;
}

/* Dark Mode Theme Overrides */
body.dark-mode {
    --bg-color: #080c14;
    --text-color: #e2e8f0;
    background-color: #080c14;
    color: #e2e8f0;
}

body.dark-mode .tech-hero {
    background: linear-gradient(135deg, #090f1d 0%, #060a12 100%);
}

body.dark-mode .tech-navbar {
    background: rgba(8, 12, 20, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .tech-navbar.scrolled {
    background: #080c14 !important;
}

body.dark-mode .nav-link {
    color: #94a3b8 !important;
}

body.dark-mode .nav-link:hover, 
body.dark-mode .nav-link.active {
    color: var(--accent-color) !important;
}

body.dark-mode .tech-card, 
body.dark-mode .tech-stack-item, 
body.dark-mode .team-card, 
body.dark-mode .accordion-item,
body.dark-mode .process-step,
body.dark-mode .modal-content,
body.dark-mode .whatsapp-chat-box {
    background: #0f172a !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .tech-card h4, 
body.dark-mode .tech-stack-item span, 
body.dark-mode .accordion-button,
body.dark-mode .text-dark,
body.dark-mode h1,
body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode h4, 
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .modal-title {
    color: #f8fafc !important;
}

body.dark-mode .tech-card p, 
body.dark-mode .text-muted, 
body.dark-mode .accordion-body,
body.dark-mode .form-label,
body.dark-mode .whatsapp-bubble {
    color: #cbd5e1 !important;
}

body.dark-mode .whatsapp-bubble {
    background: #1e293b !important;
}

body.dark-mode .bg-white {
    background-color: #080c14 !important;
}

body.dark-mode .bg-light-slate {
    background-color: #0b0f19 !important;
}

body.dark-mode .accordion-button {
    background-color: #0f172a !important;
    color: #f8fafc !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: rgba(0, 86, 179, 0.2) !important;
    color: var(--accent-color) !important;
}

body.dark-mode .card {
    background-color: #0f172a !important;
}

body.dark-mode .form-control,
body.dark-mode .form-select {
    background-color: #1e293b !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

body.dark-mode .form-control:focus {
    background-color: #0f172a !important;
}

body.dark-mode .btn-outline-dark {
    border-color: #cbd5e1;
    color: #cbd5e1;
}
body.dark-mode .btn-outline-dark:hover {
    background-color: #cbd5e1;
    color: #000;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer text & links styling for high contrast */
footer,
footer p,
footer span,
footer small,
footer a,
footer .text-muted,
.bg-dark,
.bg-dark p,
.bg-dark span,
.bg-dark small,
.bg-dark a,
.bg-dark .text-muted {
    color: #e2e8f0 !important;
}

footer a,
.bg-dark a {
    color: #ffffff !important;
    text-decoration: none !important;
}

footer a:hover,
.bg-dark a:hover {
    color: #00f2fe !important; /* var(--accent-color) fallback */
    text-decoration: underline !important;
}


