/* Portfolio Page Styles */

/* Import font at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* EXACT BACKGROUND FROM HOMEPAGE - EXTRACTED */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%) !important;
    background-attachment: fixed !important;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    max-width: 100vw;
}

/* PORTFOLIO RED COLORS - EXACT FROM VENTURES PAGE */
:root {
    --tnaado-red: #A81327;
    --tnaado-dark: #121212;
    --gradient-red: linear-gradient(135deg, #A01D26 0%, #A01D26 100%);
}

/* Portfolio Hero Section - EXACT FROM VENTURES */
.portfolio-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 150px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-tornado {
    position: absolute;
    right: -15%;
    top: 0;
    height: 100%;
    width: 80%;
    background: url('/api/placeholder/1200/1600') no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    animation: pulse 8s infinite alternate;
    z-index: 1;
}

@keyframes pulse {
    0% { opacity: 0.05; transform: scale(1); }
    100% { opacity: 0.09; transform: scale(1.05); }
}

.tech-grid {
    display: none;
}

.floating-elements {
    display: none;
}

.floating-element {
    display: none;
}

@keyframes floatElement {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.2; }
    90% { opacity: 0.2; }
    100% { transform: translate(1000px, -1000px) rotate(720deg); opacity: 0; }
}

.floating-tech-hexagons {
    display: none;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.tech-hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 93.3,25 93.3,75 50,100 6.7,75 6.7,25' fill='none' stroke='rgba(168,19,39,0.15)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
    animation: rotateHexagon 30s linear infinite;
}

@keyframes rotateHexagon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.hero-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 10;
}

.hero-content {
    position: relative;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: rgba(168, 19, 39, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    color: var(--tnaado-red);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--tnaado-red);
}

.hero-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.hero-heading {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
}

.portfolio-hero .logo-container {
    display: none;
}

.portfolio-hero .tnaado-logo {
    display: none;
}

.portfolio-hero .logo-glow {
    display: none;
}

@keyframes glow {
    0% { opacity: 0.3; filter: blur(15px); }
    100% { opacity: 0.6; filter: blur(25px); }
}

.cyber-text-container {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    perspective: 1000px;
}

.cyber-text {
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: 4px;
    position: relative;
    animation: cyberFloat 6s ease-in-out infinite alternate;
}

@keyframes cyberFloat {
    0% { transform: translateY(0) rotateX(0deg); }
    100% { transform: translateY(-10px) rotateX(5deg); }
}

/* Global floating TNAADO SVG elements */
.global-floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-subheading {
    font-size: 1.4rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 550px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-primary {
    padding: 1rem 2.5rem;
    background: var(--gradient-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(168, 19, 39, 0.25);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(168, 19, 39, 0.3);
    color: white;
}

/* BLUE CTA SECONDARY AS REQUESTED */
.cta-secondary {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, rgb(30, 58, 138) 0%, rgb(37, 99, 235) 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.25);
}

.cta-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.35);
    color: white;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 5rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-red);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat-label {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.portfolio-preview {
    position: relative;
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.portfolio-item {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--gradient-red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item::after {
    content: attr(data-name);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

.portfolio-more {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 2px dashed rgba(168, 19, 39, 0.3);
    color: var(--tnaado-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.portfolio-more:hover {
    background: rgba(168, 19, 39, 0.05);
}

/* FIXED PORTFOLIO SHOWCASE - ROTATING CARDS IN/OUT OF VIEW */
.portfolio-showcase {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    z-index: 5;
}

.portfolio-card {
    position: absolute;
    width: 220px;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.portfolio-card:hover {
    transform: translateY(-10px) rotate(2deg) scale(1.05) !important;
    box-shadow: 0 30px 60px rgba(168, 19, 39, 0.2);
    z-index: 100 !important;
}

.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 40px;
    background: var(--tnaado-red);
    border-radius: 4px 0 0 4px;
}

/* ROTATING CARD ANIMATIONS - CYCLING Z-INDEX AND VISIBILITY */
.portfolio-card-1 {
    top: 0;
    left: 0;
    animation-name: rotateCard1;
}
.portfolio-card-2 {
    top: 35%;
    right: 0;
    animation-name: rotateCard2;
}
.portfolio-card-3 {
    bottom: 0;
    left: 20%;
    animation-name: rotateCard3;
}
.portfolio-card-4 {
    bottom: 35%;
    right: 20%;
    animation-name: rotateCard4;
}

@keyframes rotateCard1 {
    0%, 25% { z-index: 4; opacity: 1; transform: translateY(0) scale(1); }
    25.1%, 50% { z-index: 1; opacity: 0.6; transform: translateY(20px) scale(0.9); }
    50.1%, 75% { z-index: 2; opacity: 0.7; transform: translateY(15px) scale(0.95); }
    75.1%, 100% { z-index: 3; opacity: 0.8; transform: translateY(10px) scale(0.97); }
}

@keyframes rotateCard2 {
    0%, 25% { z-index: 3; opacity: 0.8; transform: translateY(10px) scale(0.97); }
    25.1%, 50% { z-index: 4; opacity: 1; transform: translateY(0) scale(1); }
    50.1%, 75% { z-index: 1; opacity: 0.6; transform: translateY(20px) scale(0.9); }
    75.1%, 100% { z-index: 2; opacity: 0.7; transform: translateY(15px) scale(0.95); }
}

@keyframes rotateCard3 {
    0%, 25% { z-index: 2; opacity: 0.7; transform: translateY(15px) scale(0.95); }
    25.1%, 50% { z-index: 3; opacity: 0.8; transform: translateY(10px) scale(0.97); }
    50.1%, 75% { z-index: 4; opacity: 1; transform: translateY(0) scale(1); }
    75.1%, 100% { z-index: 1; opacity: 0.6; transform: translateY(20px) scale(0.9); }
}

@keyframes rotateCard4 {
    0%, 25% { z-index: 1; opacity: 0.6; transform: translateY(20px) scale(0.9); }
    25.1%, 50% { z-index: 2; opacity: 0.7; transform: translateY(15px) scale(0.95); }
    50.1%, 75% { z-index: 3; opacity: 0.8; transform: translateY(10px) scale(0.97); }
    75.1%, 100% { z-index: 4; opacity: 1; transform: translateY(0) scale(1); }
}

.portfolio-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--tnaado-dark);
}

.portfolio-category {
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 1rem;
}

.status-launching { background: rgba(168, 19, 39, 0.1); color: var(--tnaado-red); }
.status-development { background: rgba(0, 150, 136, 0.1); color: #009688; }
.status-confidential { background: rgba(33, 33, 33, 0.1); color: #212121; }
.status-active { background: rgba(76, 175, 80, 0.1); color: #4CAF50; }

.portfolio-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.portfolio-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50%;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tnaado-red);
    white-space: nowrap;
}

.stat-label {
    font-size: 0.7rem;
    color: #777;
    white-space: nowrap;
}

/* Main Portfolio Section */
.portfolio-section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.search-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 4rem;
}

.search-bar-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.search-bar {
    width: 100%;
    padding: 1.2rem 1.2rem 1.2rem 3.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.search-bar:focus {
    border-color: var(--tnaado-red);
    box-shadow: 0 0 0 4px rgba(168, 19, 39, 0.1);
    transform: scale(1.02);
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tnaado-red);
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-red);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--tnaado-red);
    transform: translateY(-2px);
}

/* FEATURE DISPLAY SECTION */
.feature-display-section {
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(168, 19, 39, 0.15);
    overflow: hidden;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-close-btn {
    position: sticky;
    top: 0;
    background: var(--tnaado-red);
    color: white;
    padding: 1rem 2rem;
    text-align: right;
    cursor: pointer;
    font-weight: 600;
    z-index: 100;
    transition: background 0.3s;
}

.feature-close-btn:hover {
    background: #8B0E1F;
}

.feature-display-content {
    padding: 3rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--tnaado-red);
}

.feature-icon-container {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(168, 19, 39, 0.1) 0%, rgba(220, 38, 34, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-container i {
    font-size: 4rem;
    color: var(--tnaado-red);
}

.feature-title-section {
    flex: 1;
    position: relative;
}

.feature-title-section h2 {
    font-size: 3rem;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.feature-industry {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 1rem;
}

.feature-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--tnaado-red);
}

.feature-meta-item strong {
    color: var(--tnaado-red);
}

.feature-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.feature-main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--tnaado-red);
}

.feature-section h3 {
    font-size: 1.8rem;
    color: var(--tnaado-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-section p {
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
}

.feature-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-service-badge {
    padding: 0.75rem;
    background: white;
    border: 2px solid var(--tnaado-red);
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--tnaado-red);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.feature-service-badge.service-active {
    background: var(--tnaado-red);
    color: white;
    border-color: var(--tnaado-red);
}

.feature-service-badge.service-inactive {
    background: #f8f9fa;
    color: #999;
    border-color: #e0e0e0;
    opacity: 0.6;
}

.feature-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-gallery-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.feature-gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-gallery-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
    margin: 0;
}

.feature-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--tnaado-red);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.feature-link-btn:hover {
    background: #8B0E1F;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 19, 39, 0.3);
}

.feature-testimonial {
    background: linear-gradient(135deg, rgba(168, 19, 39, 0.05) 0%, rgba(220, 38, 34, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--tnaado-red);
    font-style: italic;
}

.feature-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
}

.feature-testimonial-author {
    text-align: right;
    font-weight: 600;
    color: var(--tnaado-red);
    font-style: normal;
}

/* FIXED PORTFOLIO CARDS - 3 PER ROW CENTERED */
.portfolio-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.portfolio-display-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: 350px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.portfolio-display-card:hover {
    transform: translateY(-10px) rotate(2deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(168, 19, 39, 0.2);
}

.portfolio-display-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 40px;
    background: var(--tnaado-red);
    border-radius: 4px 0 0 4px;
}

/* COLORED STATUS BADGES FOR CARDS */
.card-status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* STATUS BADGE COLORS */
.badge-active-subsidiary { background: rgba(76, 175, 80, 0.2); color: #4CAF50; }
.badge-active-project { background: rgba(33, 150, 243, 0.2); color: #2196F3; }
.badge-active-client { background: rgba(156, 39, 176, 0.2); color: #9C27B0; }
.badge-active-venture { background: rgba(255, 152, 0, 0.2); color: #FF9800; }
.badge-launching-brand { background: rgba(168, 19, 39, 0.2); color: #A81327; }
.badge-development-stage { background: rgba(0, 188, 212, 0.2); color: #00BCD4; }
.badge-strategic-partner { background: rgba(103, 58, 183, 0.2); color: #673AB7; }
.badge-completed-project { background: rgba(76, 175, 80, 0.2); color: #4CAF50; }
.badge-incubator-program { background: rgba(233, 30, 99, 0.2); color: #E91E63; }
.badge-ongoing-retainer { background: rgba(139, 195, 74, 0.2); color: #8BC34A; }

.card-preview-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-preview-icon {
    font-size: 3.5rem;
    color: var(--tnaado-red);
    z-index: 2;
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card-industry {
    color: var(--tnaado-red);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
    flex: 1;
}

.card-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: #333;
    font-weight: 600;
}

/* CLICK/TAP TO LEARN MORE MESSAGE */
.card-footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(168, 19, 39, 0.05);
    color: var(--tnaado-red);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cyber-text { font-size: 3.5rem; }
    .hero-subheading { font-size: 1.2rem; }
    .hero-stat-value { font-size: 2.8rem; }
    .tnaado-logo { max-width: 1200px; } /* 4x of 200px - bigger on tablet */
    .portfolio-showcase { width: 400px; height: 400px; right: 2%; }
}

@media (max-width: 1024px) {
    .feature-body {
        grid-template-columns: 1fr;
    }

    .feature-sidebar {
        order: -1;
    }
}

@media (max-width: 992px) {
    .portfolio-showcase {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        height: auto;
        margin-top: 4rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    .portfolio-card {
        position: relative;
        width: 280px;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 0;
        animation: none;
        opacity: 1;
        z-index: 1;
    }

    /* 2 per row on tablet */
    .portfolio-display-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .cyber-text { font-size: 3rem; }
    .hero-subheading { font-size: 1.1rem; }
    .hero-stat-value { font-size: 2.5rem; }
    .hero-stats { flex-wrap: wrap; gap: 2rem; justify-content: center; }
    .portfolio-hero { padding: 5rem 0; }
    .tnaado-logo { max-width: 1000px; } /* 4x of 180px - bigger on medium screens */
    .filter-buttons { flex-direction: column; align-items: center; }
    .filter-btn { width: 100%; max-width: 300px; }

    /* 1 per row on mobile */
    .portfolio-display-card {
        flex: 0 0 100%;
    }

    .feature-display-content {
        padding: 2rem 1.5rem;
    }

    .feature-header {
        flex-direction: column;
        text-align: center;
    }

    .feature-title-section h2 {
        font-size: 2rem;
    }

    .feature-services-grid {
        grid-template-columns: 1fr;
    }

    .feature-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .cyber-text { font-size: 2.5rem; }
    .hero-cta-group { flex-direction: column; }
    .tnaado-logo { max-width: 800px; } /* 4x of 150px - bigger on mobile */
    .hero-content-wrapper { padding: 0 1rem; }
    .portfolio-container { padding: 0 1rem; }
    .card-content { padding: 1.25rem; }
}
