/* TechBuzz Solution - Main Styles */
:root {
    --tb-primary: #FF6B00;
    --tb-primary-light: #FF8C42;
    --tb-secondary: #FFD166;
    --tb-dark: #1A1A1A;
    --tb-light: #FFFFFF;
    --tb-gray: #F5F5F5;
    --tb-text: #333333;
    --tb-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--tb-text);
    overflow-x: hidden;
    background-color: var(--tb-light);
}

.tb-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.tb-header {
    background-color: var(--tb-light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.tb-header-scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.tb-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.tb-logo-icon {
    color: var(--tb-primary);
    font-size: 28px;
}

.tb-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--tb-dark);
}

.tb-logo-text span {
    color: var(--tb-primary);
}

.tb-nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.tb-nav-link {
    text-decoration: none;
    color: var(--tb-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.tb-nav-link:hover {
    color: var(--tb-primary);
}

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

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

.tb-cta-button {
    background-color: var(--tb-primary);
    color: var(--tb-light);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.tb-cta-button:hover {
    background-color: var(--tb-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

.tb-mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.tb-hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--tb-light) 0%, var(--tb-gray) 100%);
    position: relative;
    overflow: hidden;
}

.tb-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.tb-hero-text {
    flex: 1;
}

.tb-tagline {
    color: var(--tb-primary);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 30px;
}

.tb-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--tb-dark);
    /* Add these properties to fix spacing */
    white-space: normal;
    word-spacing: normal;
    letter-spacing: normal;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}

.tb-hero-title span {
    color: var(--tb-primary);
    position: relative;
}

.tb-hero-title span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    bottom: 5px;
    left: 0;
    background-color: var(--tb-secondary);
    z-index: -1;
    opacity: 0.7;
}

.tb-hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 90%;
}

.tb-hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.tb-secondary-button {
    background-color: transparent;
    color: var(--tb-dark);
    border: 2px solid var(--tb-dark);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tb-secondary-button:hover {
    background-color: var(--tb-dark);
    color: var(--tb-light);
    transform: translateY(-3px);
}

.tb-hero-stats {
    display: flex;
    gap: 30px;
}

.tb-stat-item {
    text-align: center;
}

.tb-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tb-primary);
    margin-bottom: 5px;
}

.tb-stat-label {
    font-size: 0.9rem;
    color: #666;
}

.tb-hero-visual {
    flex: 1;
    position: relative;
}

.tb-floating-element {
    position: absolute;
    background-color: var(--tb-secondary);
    border-radius: 50%;
    opacity: 0.7;
}

.tb-element-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
}

.tb-element-2 {
    width: 50px;
    height: 50px;
    top: 60%;
    right: 15%;
}

.tb-element-3 {
    width: 30px;
    height: 30px;
    bottom: 20%;
    left: 20%;
}

.tb-hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--tb-shadow);
}

/* Services Section */
.tb-services {
    padding: 100px 0;
    background-color: var(--tb-gray);
}

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

.tb-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-section-subtitle {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.tb-service-card {
    background-color: var(--tb-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tb-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--tb-primary), var(--tb-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

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

.tb-service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 107, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--tb-primary);
    font-size: 28px;
}

.tb-service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-service-description {
    color: #666;
    margin-bottom: 20px;
}

.tb-service-link {
    color: var(--tb-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.tb-service-link:hover {
    gap: 10px;
}

/* Trusted By Section */
.tb-trusted-by {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--tb-light) 0%, #f8f9fa 100%);
}

.tb-clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.tb-client-logo {
    background: var(--tb-light);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tb-client-logo:hover {
    transform: translateY(-10px);
    border-color: var(--tb-primary);
    box-shadow: 0 15px 30px rgba(255,107,0,0.15);
}

.tb-client-logo i {
    font-size: 2.5rem;
    color: var(--tb-primary);
    margin-bottom: 15px;
    display: block;
}

.tb-client-logo span {
    font-weight: 600;
    color: var(--tb-dark);
}

.tb-trust-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.tb-trust-stat {
    text-align: center;
}

.tb-trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tb-primary);
    margin-bottom: 10px;
}

.tb-trust-label {
    color: var(--tb-text);
    font-weight: 500;
}

/* CTA Section */
.tb-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--tb-dark) 0%, #2d3748 100%);
    color: var(--tb-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tb-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tb-cta-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--tb-light);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tb-cta-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.tb-cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tb-cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tb-cta-feature i {
    color: var(--tb-secondary);
    font-size: 1.1rem;
}

.tb-cta-feature span {
    color: var(--tb-light);
    font-weight: 500;
}

.tb-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.tb-large-cta {
    padding: 18px 40px;
    font-size: 1.2rem;
    background: var(--tb-primary);
    border: none;
    color: var(--tb-light);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-large-cta:hover {
    background: var(--tb-primary-light);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.6);
}

.tb-cta-secondary {
    background: transparent;
    border: 2px solid var(--tb-light);
    color: var(--tb-light);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-cta-secondary:hover {
    background: var(--tb-light);
    color: var(--tb-primary);
    transform: translateY(-5px);
}

.tb-cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    opacity: 0.9;
    color: var(--tb-light);
}

.tb-cta-guarantee i {
    color: var(--tb-secondary);
}

/* Add floating elements to CTA */
.tb-cta-floating {
    position: absolute;
    background: var(--tb-secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: tb-float 8s ease-in-out infinite;
}

.tb-cta-float-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.tb-cta-float-2 {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.tb-cta-float-3 {
    width: 40px;
    height: 40px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Process Section */
.tb-process {
    padding: 100px 0;
    background: var(--tb-gray);
}

.tb-process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.tb-process-steps::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--tb-primary), var(--tb-secondary));
    border-radius: 10px;
}

.tb-process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.tb-step-number {
    width: 100px;
    height: 100px;
    background: var(--tb-primary);
    color: var(--tb-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255,107,0,0.3);
}

.tb-step-content {
    flex: 1;
    background: var(--tb-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.tb-step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 40px;
    width: 20px;
    height: 20px;
    background: var(--tb-light);
    transform: rotate(45deg);
}

.tb-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--tb-dark);
}

.tb-step-description {
    color: var(--tb-text);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tb-process-steps::before {
        left: 30px;
    }
    
    .tb-step-number {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    
    .tb-process-step {
        gap: 20px;
    }
}

/* Testimonials Section */
.tb-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--tb-primary) 0%, var(--tb-primary-light) 100%);
    color: var(--tb-light);
    position: relative;
    z-index: 1;
}

.tb-testimonials .tb-section-title {
    color: var(--tb-light) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tb-testimonials .tb-section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.tb-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.tb-testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tb-testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.tb-testimonial-content {
    position: relative;
    z-index: 3;
}

.tb-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
    color: var(--tb-light);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.tb-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tb-author-avatar {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tb-light);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.tb-author-info h4 {
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--tb-light);
}

.tb-author-info p {
    opacity: 0.9;
    font-size: 0.9rem;
    color: var(--tb-light);
}

/* FAQ Section */
.tb-faq {
    padding: 100px 0;
    background: var(--tb-gray);
}

.tb-faq-grid {
    max-width: 800px;
    margin: 50px auto;
}

.tb-faq-item {
    background: var(--tb-light);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.tb-faq-item:hover {
    border-color: var(--tb-primary);
}

.tb-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--tb-light);
}

.tb-faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--tb-dark);
    margin: 0;
}

.tb-faq-question i {
    color: var(--tb-primary);
    transition: transform 0.3s ease;
}

.tb-faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tb-faq-item.active .tb-faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.tb-faq-item.active .tb-faq-question i {
    transform: rotate(180deg);
}

.tb-faq-cta {
    text-align: center;
    margin-top: 50px;
}

.tb-faq-link {
    color: var(--tb-primary);
    text-decoration: none;
    font-weight: 600;
}

.tb-faq-link:hover {
    text-decoration: underline;
}


/* Footer */
.tb-footer {
    background-color: var(--tb-dark);
    color: var(--tb-light);
    padding: 70px 0 30px;
}

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

.tb-footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.tb-footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--tb-primary);
}

.tb-footer-about {
    color: #ccc;
    margin: 15px 0 20px;
    line-height: 1.6;
}

.tb-footer-links {
    list-style: none;
}

.tb-footer-links li {
    margin-bottom: 10px;
}

.tb-footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.tb-contact-info p {
    margin-bottom: 10px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tb-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.tb-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--tb-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tb-social-link:hover {
    background-color: var(--tb-primary);
    transform: translateY(-5px);
}

.tb-footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Responsive Design */
@media (max-width: 992px) {
    .tb-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .tb-hero-description {
        max-width: 100%;
    }

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

    .tb-hero-title {
        font-size: 2.8rem;
    }

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

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

    .tb-nav-cta {
        display: none;
    }

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

    .tb-hero-title {
        font-size: 2.2rem;
    }

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

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

    .tb-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .tb-hero {
        padding: 150px 0 80px;
    }

    .tb-hero-title {
        font-size: 1.8rem;
    }

    .tb-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tb-cta-title {
        font-size: 2rem;
    }
}




/* Mobile Menu Styles - ADD TO END OF main.css */
@media (max-width: 768px) {
    .tb-nav-links {
        display: none;
    }
    
    .tb-mobile-menu {
        display: block !important;
        cursor: pointer;
    }
}

@media (min-width: 769px) {
    .tb-nav-links {
        display: flex !important;
    }
    
    .tb-mobile-menu {
        display: none !important;
    }
}