/* =========================================
   VANTEGRATE DESIGN SYSTEM
   Theme: Light / Cream Luxury
   ========================================= */

:root {
    /* Colors */
    --bg-primary: #FFFBF3;
    --bg-secondary: #FFF8EB;
    /* Slightly darker cream for cards */
    --text-primary: #060A2E;
    --text-secondary: #4A4D6A;
    --text-light: #FFFFFF;

    --brand-orange: #F49D2C;
    --brand-orange-dark: #E0821A;
    --brand-blue: #3B82F6;

    --gradient-orange: linear-gradient(135deg, #F49D2C 0%, #E0821A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(244, 157, 44, 0.1) 0%, rgba(6, 10, 46, 0.05) 100%);

    /* Fonts */
    --font-heading: 'Satoshi', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 100px 0;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(6, 10, 46, 0.05);
    --shadow-md: 0 10px 30px rgba(6, 10, 46, 0.08);
    --shadow-lg: 0 20px 50px rgba(6, 10, 46, 0.12);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.underline-wavy {
    position: relative;
    display: inline-block;
}

.underline-wavy::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='12' viewBox='0 0 100 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6C15 2 20 10 35 6C50 2 55 10 70 6C85 2 90 10 98 6' stroke='%23F49D2C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(244, 157, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 157, 44, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(6, 10, 46, 0.1);
}

.btn-secondary:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(255, 251, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}



.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    filter: none;
    /* Original colors (dark) for white background */
    transition: filter 0.3s ease;
}



.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-orange);
    transition: width 0.3s ease;
}

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

/* Language Selector */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
}

.lang-flag {
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;
    filter: grayscale(100%);
}

.lang-flag:hover {
    transform: scale(1.1);
    opacity: 0.8;
    filter: grayscale(0%);
}

.lang-flag.active {
    opacity: 1;
    filter: grayscale(0%);
    cursor: default;
}

.lang-divider {
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0.5;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
}

/* =========================================
   SECTIONS
   ========================================= */

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-primary);
    /* Reverted to Cream/Light */
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    padding: 160px 0 100px;
    background-color: #0A104A;
    /* Brand Blue */
    color: #FFFFFF;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h4 {
    font-size: 1.125rem;
    color: var(--brand-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-text h1 {
    color: #FFFFFF;
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    min-height: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-canvas-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-visual img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.accent-text {
    color: var(--brand-orange);
}

/* About Page Specifics */
/* Mission */
.about-mission-text {
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-mission-text strong {
    color: var(--text-primary);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: linear-gradient(170deg, rgba(55, 58, 123, 0.05) 0%, #FFFFFF 100%);
    border: 1px solid rgba(10, 16, 74, 0.05);
    border-radius: 16px;
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 16, 74, 0.1);
    border-color: rgba(10, 16, 74, 0.1);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #0A104A;
}

.value-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 Columns specifically */
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card-top-bar {
    height: 8px;
    width: 100%;
}

.team-photo-wrapper {
    margin: 40px auto 20px;
    width: 180px;
    height: 180px;
    border-radius: 24px;
    /* Rounded square style as per original */
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 0 30px 40px;
}

.team-name {
    font-size: 24px;
    margin-bottom: 8px;
    color: #0A104A;
}

.team-role {
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Proof */
.social-proof {
    padding: 60px 0;
    border-top: 1px solid rgba(6, 10, 46, 0.05);
    border-bottom: 1px solid rgba(6, 10, 46, 0.05);
}

.sp-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
}

/* Services */
.services {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Flip Cards */
.flip-card {
    background-color: transparent;
    width: 100%;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.flip-card-front {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.service-icon {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin-bottom: 32px;
    transition: transform 0.3s ease;
}

.flip-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 24px;
    color: var(--text-primary);
}

.flip-card-back {
    background: var(--gradient-orange);
    color: #FFFFFF;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.flip-card-back h3 {
    color: #FFFFFF;
    font-size: 24px;
    margin-bottom: 20px;
}

.flip-card-back p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
footer {
    background-color: #FFFFFF;
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(6, 10, 46, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    color: var(--text-secondary);
}

.footer-col h4 {
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-secondary);
}

.footer-col a:hover {
    color: var(--brand-orange);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(6, 10, 46, 0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-text h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   TRAZZO REDESIGN STYLES
   ========================================= */

.trazzo-section {
    padding: 100px 0;
}

.bg-light {
    background-color: #F9FAFB;
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Problem Cards */
.problem-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

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

/* Solution Steps */
.solution-steps {
    margin-top: 20px;
}

.solution-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.step-number {
    background: var(--brand-orange);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 20px;
    flex-shrink: 0;
    font-size: 14px;
}

.solution-step p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding-top: 2px;
}

/* Result Cards */
.result-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.result-metric {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 12px;
    line-height: 1.2;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th, 
.comparison-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background-color: #fcfcfc;
}

.check-icon {
    color: #10B981; /* Green */
    font-weight: bold;
    margin-right: 8px;
}

.cross-icon {
    color: #EF4444; /* Red */
    font-weight: bold;
    margin-right: 8px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Adjust based on design */
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--brand-orange);
    z-index: 1;
}

.step-period {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(244, 157, 44, 0.1);
    color: var(--brand-orange-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Simple Feature Card */
.feature-card-simple {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--brand-orange);
    box-shadow: var(--shadow-sm);
}

.feature-card-simple h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card-simple p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Responsive Trazzo */
@media (max-width: 992px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .timeline-item::before {
        left: 1px;
    }
}
