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

:root {
    /* Official Qynzoo Color Palette */
    --primary-color: #44bba4;
    --secondary-color: #ffc107;
    --accent-color: #fc7753;
    --dark-bg: #0a0e27;
    --navy-bg: #1a1f3a;
    --dark-green-bg: #1a3a32;
    --light-bg: var(--navy-bg);
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --text-gray: #b8b8b8;
    --border-color: #2a3a5a;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #44bba4 0%, #36a08d 100%);
    --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.4);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', var(--font-primary);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(33, 180, 166, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 180, 166, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 39, 0.98);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: var(--transition-normal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.pixel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

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

.hero-text {
    color: var(--text-light);
}

.hero-title {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--secondary-color);
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Founder Card */
.founder-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-normal);
}

.founder-card:hover {
    transform: translateY(-10px);
}

.founder-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.founder-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.founder-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    border: 3px solid var(--dark-bg);
}

.founder-info h3 {
    color: var(--text-light);
    font-size: 28px;
    margin-bottom: 8px;
}

.founder-title {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.founder-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 25px; opacity: 0.5; }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.section-title {
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-top: 20px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

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

.service-card {
    background: var(--navy-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(252, 119, 83, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(252, 119, 83, 0.3);
    border-color: var(--accent-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(33, 180, 166, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-card > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
}

.service-features i {
    color: var(--primary-color);
    font-size: 14px;
}

.service-link {
    color: white;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #36a08d);
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(68, 187, 164, 0.3);
    transition: all var(--transition-normal);
    line-height: 1;
    white-space: nowrap;
}

.service-link:hover {
    gap: 12px;
    background: linear-gradient(135deg, #36a08d, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 187, 164, 0.4);
}

/* ===================================
   Workflow Section
   =================================== */
.workflow {
    background: var(--dark-bg);
}

.workflow-timeline {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transform: translateX(-50%);
}

.workflow-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.workflow-step:nth-child(even) .step-number {
    order: 2;
}

.workflow-step:nth-child(even) .step-content {
    order: 1;
    text-align: right;
}

.step-number {
    font-size: 72px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.workflow-step:nth-child(even) .step-icon {
    margin-left: auto;
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.step-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.workflow-step:nth-child(even) .step-details {
    justify-content: flex-end;
}

.step-details span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.step-details i {
    color: var(--primary-color);
}

/* Workflow Visualization */
.workflow-visualization {
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.diagram-node {
    width: 120px;
    height: 120px;
    background: var(--navy-bg);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid var(--accent-color);
}

.diagram-node:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.diagram-node i {
    font-size: 32px;
    color: var(--accent-color);
}

.diagram-node span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.diagram-arrow {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagram-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    width: 0;
    height: 0;
    border-left: 12px solid var(--accent-color);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* ===================================
   Benefits Section
   =================================== */
.benefits {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.benefits-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.benefits-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: sticky;
    top: 100px;
}

.tab-button {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--navy-bg);
    border: 2px solid rgba(252, 119, 83, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
}

.tab-button i {
    font-size: 24px;
    color: var(--primary-color);
}

.tab-button:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    background: rgba(252, 119, 83, 0.1);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--accent-color), #ff6b47);
    color: white;
    border-color: var(--accent-color);
}

.tab-button.active i {
    color: white;
}

.benefits-panels {
    background: var(--navy-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    min-height: 600px;
    border: 1px solid rgba(252, 119, 83, 0.3);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.panel-intro {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 35px;
}

.benefit-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(26, 31, 58, 0.6);
    border-radius: 12px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(252, 119, 83, 0.2);
}

.benefit-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 20px rgba(252, 119, 83, 0.3);
    border-color: var(--accent-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b47);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 24px;
}

.benefit-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* ===================================
   Portfolio Section
   =================================== */
.portfolio {
    background: var(--dark-bg);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-normal);
    color: var(--text-light);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    background: var(--navy-bg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(252, 119, 83, 0.3);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px rgba(252, 119, 83, 0.3);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: var(--navy-bg);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all var(--transition-normal);
}

.portfolio-link:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(360deg) scale(1.1);
}

/* ===================================
   Logo Wheel Section
   =================================== */
.logo-wheel-section {
    background: rgba(26, 31, 58, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 80px 0;
    overflow: hidden;
}

.logo-wheel-container {
    position: relative;
    padding: 40px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.logo-wheel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.logo-wheel-container:active {
    cursor: grabbing;
}

.logo-wheel {
    display: flex;
    gap: 60px;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
}

.logo-wheel:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.logo-item:hover {
    transform: scale(1.1);
}

.logo-item img,
.logo-item svg {
    max-width: 140px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
    margin: auto;
}

.logo-item:hover img,
.logo-item:hover svg {
    filter: brightness(1.3);
}

/* Text-based logo styles */
.logo-item .text-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo-item:hover .text-logo {
    filter: brightness(1.3);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 10 - 60px * 10));
    }
}

/* Duplicate logos for seamless loop */
.logo-wheel::after {
    content: '';
    display: flex;
    gap: 60px;
}

@media (max-width: 768px) {
    .logo-item {
        width: 120px;
        height: 120px;
    }

    @keyframes scrollLogos {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 10 - 60px * 10));
        }
    }
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-gray);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 20px;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent-color), #ff6b47);
    color: white;
    transform: translateY(-5px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(26, 31, 58, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(252, 119, 83, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 15px;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.form-group select {
    background: var(--navy-bg);
    color: var(--text-light);
}

.form-group select option {
    background: var(--navy-bg);
    background-color: var(--navy-bg);
    color: var(--text-light);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    pointer-events: none;
    transition: all var(--transition-normal);
    background: rgba(10, 14, 39, 0.9);
    padding: 0 5px;
}

.form-group textarea ~ label {
    top: 20px;
    transform: translateY(0);
}

.form-group input:focus ~ label,
.form-group select:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:not([value=""]) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 12px;
    color: var(--primary-color);
}

.form-group select ~ label {
    top: 0;
    font-size: 12px;
}

.form-error {
    color: var(--accent-color);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--accent-color);
}

.btn-submit {
    width: 100%;
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .btn-loading {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
    margin-top: 15px;
    animation: slideIn 0.3s ease-out;
}

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

.form-message.success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
    border: 2px solid #16a34a;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.form-message.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: 2px solid #b91c1c;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        margin: 0 auto 35px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .workflow-step {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-step:nth-child(even) .step-content {
        text-align: left;
    }

    .workflow-step:nth-child(even) .step-icon {
        margin-left: 0;
    }

    .workflow-step:nth-child(even) .step-details {
        justify-content: flex-start;
    }

    .workflow-timeline::before {
        display: none;
    }

    .benefits-content {
        grid-template-columns: 1fr;
    }

    .benefits-tabs {
        position: static;
        flex-direction: row;
        overflow-x: auto;
    }

    .tab-button span {
        display: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 14, 39, 0.98);
        flex-direction: column;
        padding: 40px;
        transition: left var(--transition-normal);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .diagram-arrow {
        display: none;
    }

    .tab-button {
        flex: 1;
        min-width: 60px;
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 32px;
    }

    .founder-card {
        padding: 20px;
    }

    .founder-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* =================================== */
/* Blog-specific Styles */
/* =================================== */

/* Blog Hero Adjustments */
.blog-hero-text {
    max-width: 600px;
}

.blog-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-featured-card {
    background: var(--navy-bg);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(68, 187, 164, 0.2);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.blog-featured-card .featured-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.blog-featured-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.blog-featured-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.blog-categories {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-tag {
    background: rgba(68, 187, 164, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Blog Meta Styles */
.blog-meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-meta-small {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.blog-meta-small span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta-small i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Blog Icon Gradients */
.blog-icon {
    background: linear-gradient(135deg, var(--primary-color), #36a08d) !important;
}

.gradient-icon-yellow {
    background: linear-gradient(135deg, var(--secondary-color), #ff9800) !important;
}

.gradient-bg-yellow {
    background: linear-gradient(135deg, var(--secondary-color), #ff9800) !important;
}

.gradient-bg-coral {
    background: linear-gradient(135deg, var(--accent-color), #ff6b47) !important;
}

/* Blog Post Item Styles */
.blog-post-item .portfolio-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-bg);
    position: relative;
}

.blog-post-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #36a08d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
}

.blog-post-item .portfolio-content {
    padding: 30px;
}

.blog-post-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.blog-post-item p {
    font-size: 15px;
    line-height: 1.6;
    margin: 15px 0;
}

.blog-post-item .portfolio-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-post-item .tag {
    background: rgba(68, 187, 164, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.blog-post-item .portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #36a08d);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition-normal);
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(68, 187, 164, 0.3);
    line-height: 1;
    white-space: nowrap;
}

.blog-post-item .portfolio-link:hover {
    gap: 12px;
    background: linear-gradient(135deg, #36a08d, var(--primary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 187, 164, 0.4);
}

/* Coming Soon Button */
.blog-post-item .portfolio-link[href="#"] {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    box-shadow: none;
    line-height: 1;
    white-space: nowrap;
}

.blog-post-item .portfolio-link[href="#"]:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: none;
    box-shadow: none;
}

/* Blog Filters */
.blog-filters {
    margin: 40px 0;
    text-align: center;
}

/* Newsletter Section Specific */
.newsletter-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-large .form-group {
    margin-bottom: 25px;
}

.newsletter-promise {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-align: center;
}

.newsletter-promise i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Footer Social Icons */
.footer-social {
    margin-top: 20px;
}

.footer-social .social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: white;
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-hero-text {
        max-width: 100%;
        text-align: center;
    }

    .blog-featured-card {
        max-width: 100%;
        margin-top: 40px;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }

    .blog-filters {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .blog-filters .filter-btn {
        display: inline-block;
    }
}
