/* ==========================================
   TENSAI CONSULTING - CUSTOM STYLES
   ========================================== */

/* CSS Variables */
:root {
    --color-primary: #2f1f4f;
    --color-secondary: #4949e7;
    --color-accent: #d35b74;
    --color-light: #dedede;
    --color-dark: #000000;
    --color-white: #ffffff;
    --font-family: 'Inter', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    background: rgba(47, 31, 79, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(47, 31, 79, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--color-white) !important;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    position: relative;
}

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

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

.nav-link:hover::after {
    width: 50%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    background-image: url('../images/background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 4rem;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    max-width: 1200px;
}

.hero-tagline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 1.4;
}

.hero-tagline .highlight {
    color: #4a7bbd;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    background: var(--color-secondary);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(73, 73, 231, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 8px;
}

.btn-outline-light:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

/* ==========================================
   SECTIONS
   ========================================== */
section {
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

.about-section {
    background: var(--color-white);
}

.services-section {
    background: #f8f9fa;
}

.results-section {
    background: var(--color-white);
}

.pricing-section {
    background: #f8f9fa;
}

.contact-section {
    background: var(--color-white);
}

/* ==========================================
   EXPERTISE & CHALLENGES
   ========================================== */
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.custom-list i {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.challenges-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1030 100%);
    color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
}

.challenges-card h4 {
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.challenge-item {
    text-align: center;
}

.challenge-item i {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.challenge-item h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.challenge-item p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ==========================================
   SERVICE CARDS
   ========================================== */
.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary);
}

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

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.service-role {
    padding: 0.5rem 1rem;
    background: var(--color-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* ==========================================
   DATA APPROACH
   ========================================== */
.data-approach {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1030 100%);
    padding: 3rem;
    border-radius: 15px;
    color: var(--color-white);
}

.data-approach h3 {
    color: var(--color-white);
}

.approach-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 120px;
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flow-arrow {
    font-size: 2rem;
    color: var(--color-accent);
}

/* ==========================================
   RESULT CARDS
   ========================================== */
.result-card {
    background: var(--color-white);
    border: 2px solid var(--color-light);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-industry {
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.result-year {
    color: #666;
    font-size: 0.9rem;
}

.result-card h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.result-goal {
    margin-bottom: 1rem;
    color: #333;
}

.result-actions {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.result-actions li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #666;
}

.result-actions li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

.result-outcome {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-metric {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
}

.result-label {
    color: var(--color-white);
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================
   INDUSTRIES
   ========================================== */
.industries-served {
    text-align: center;
    padding: 2rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.industry-tag {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: var(--color-secondary);
    transform: translateY(-3px);
}

/* ==========================================
   PRICING CARDS
   ========================================== */
.pricing-card {
    background: var(--color-white);
    border: 2px solid var(--color-light);
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--color-secondary);
}

.pricing-card.featured {
    border-color: var(--color-secondary);
    border-width: 3px;
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.pricing-card h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing-description {
    color: #666;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--color-secondary);
    font-size: 1.25rem;
}

.pricing-best-for {
    background: var(--color-light);
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-card {
    background: var(--color-white);
    border: 2px solid var(--color-light);
    border-radius: 15px;
    padding: 3rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--color-light);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 0.2rem rgba(73, 73, 231, 0.15);
}

.contact-info-item {
    padding: 1.5rem;
    text-align: center;
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.contact-info-item p {
    margin: 0;
    color: #666;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 992px) {
    .hero-tagline {
        font-size: 2rem;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    /* Use mobile background image for small screens */
    .hero-section {
        background-image: url('../images/background-mobile.svg');
        padding-bottom: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}
/* ==========================================
   LOGO SHOWCASE SECTION
   ========================================== */
.logo-showcase-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.logo-card {
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 350px;
}

.logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    flex: 1;
}

.logo-svg {
    width: 180px;
    height: auto;
    max-width: 100%;
}

.logo-description {
    text-align: center;
    padding: 1.5rem 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    width: 100%;
    margin-top: auto;
}

.logo-description strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.logo-description p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.logo-description code {
    font-size: 0.75rem;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--color-dark);
    display: inline-block;
}

/* Logo color filters using CSS filters */
.logo-white {
    filter: brightness(0) invert(1);
}

.logo-primary {
    filter: brightness(0) saturate(100%) invert(12%) sepia(32%) saturate(1677%) hue-rotate(227deg) brightness(90%) contrast(95%);
}

.logo-secondary {
    filter: brightness(0) saturate(100%) invert(37%) sepia(82%) saturate(2467%) hue-rotate(223deg) brightness(93%) contrast(92%);
}

.logo-accent {
    filter: brightness(0) saturate(100%) invert(50%) sepia(32%) saturate(1358%) hue-rotate(306deg) brightness(89%) contrast(85%);
}

.logo-dark {
    filter: brightness(0) saturate(100%) invert(0%);
}

@media (max-width: 768px) {
    .logo-card {
        min-height: 300px;
    }
    
    .logo-svg {
        width: 140px;
    }
}