/* Small & Medium Businesses CSS - Based on IP.css structure */

:root {
    --primary-color: #ff0000;
    --primary-light: #ff3e3e;
    --primary-dark: #cc0000;
    --dark-color: #000000;
    --darker-color: #0a0a0a;
    --light-color: #f5f5f5;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    --gradient-dark: linear-gradient(135deg, var(--dark-color), var(--darker-color));
    --transition-fast: all 0.3s ease;
    --transition-medium: all 0.5s ease;
    --transition-slow: all 0.8s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.2);
    --accent-color: #e50000;
    --accent-hover: #ff2a2a;
    --text-muted: #cccccc;
    --card-bg: #121212;
    --card-hover: #1a1a1a;
    --transition-speed: 0.3s;
    --gradient-red: linear-gradient(135deg, #e50000, #ff4d4d);
    --glow-shadow: 0 0 15px rgba(229, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--dark-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

/* Hero Section - SMB specific */
.smb-hero {
    min-height: 100vh;
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Animated heading */
.animated-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.animated-heading .text-line {
    position: relative;
    display: block;
    margin-bottom: 10px;
}

.animated-heading .text-line:not(:last-child) {
    margin-bottom: 5px;
}



@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

text-reveals {
    /* display: block; */
    position: relative;
    font-size: 4.0rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* SMB Specific Sections */
.smb-challenges-section,
.smb-solutions-section,
.smb-benefits-section,
.smb-cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background-color: var(--darker-color);
}

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

.challenge-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-medium);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.3);
}

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

.solution-card {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border-radius: var(--border-radius-md);
    padding: 30px;
    transition: var(--transition-medium);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 0, 0, 0.3);
}

/* Animation keyframes */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

/* Media Queries */
@media (max-width: 992px) {
    .animated-heading {
        font-size: 2.5rem;
    }
    .challenges-grid, .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .animated-heading {
        font-size: 2rem;
    }
    .challenges-grid, .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .animated-heading {
        font-size: 1.8rem;
    }
}

/* General Styles */
body {
    background-color: var(--dark-color);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 5;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.accent-text {
    color: var(--accent-color);
    position: relative;
}

.animated-heading {
    position: relative;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.3;
}

.text-reveal {
    position: relative;
    white-space: nowrap;
    color: var(--text-light);
    overflow: hidden;
}

.text-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    animation: revealText 2s ease forwards;
}

.text-line {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 5px;
}

.highlight {
    color: var(--accent-color);
}

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

@keyframes revealText {
    0% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* Hero Section */
.smb-hero {
    min-height: 100vh;
    background-color: var(--dark-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(229, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(229, 0, 0, 0.2);
    filter: blur(20px);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation: floatAnimation 8s infinite ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 15%;
    animation: floatAnimation 10s infinite ease-in-out;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 70%;
    left: 30%;
    animation: floatAnimation 6s infinite ease-in-out;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: calc(100vh - 200px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.0rem;
 
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


.hero-image {
    width: 100%;
    max-width: 550px;
    position: relative;
    z-index: 2;
    border-radius: 10px;
    box-shadow: var(--shadow-dark);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

/* Challenges Section */
.smb-challenges-section {
    background-color: var(--darker-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.smb-challenges-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.smb-challenges-section .svg-animation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.animated-svg {
    position: absolute;
    opacity: 0.5;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.challenge-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--card-hover);
}

.challenge-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: width var(--transition-speed);
}

.challenge-card:hover::after {
    width: 100%;
    opacity: 0.05;
}

.challenge-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.challenge-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.challenge-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Solutions Section */
.smb-solutions-section {
    background-color: var(--dark-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.smb-solutions-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glow-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(229, 0, 0, 0.15);
    top: -150px;
    left: -150px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: rgba(229, 0, 0, 0.1);
    bottom: -200px;
    right: -200px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.solution-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--card-hover);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    z-index: -1;
    transition: height var(--transition-speed);
}

.solution-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.solution-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.solution-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* Benefits Section */
.smb-benefits-section {
    background-color: var(--darker-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.smb-benefits-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.benefits-container {
    position: relative;
    z-index: 10;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    background-color: var(--card-hover);
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-red);
    z-index: 0;
    transition: height var(--transition-speed);
}

.benefit-card:hover::after {
    height: 6px;
}

.benefit-icon {
    margin-bottom: 1rem;
}

.benefit-content {
    flex-grow: 1;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.benefit-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefits-cta {
    text-align: center;
    padding: 2rem;
    background-color: rgba(18, 18, 18, 0.6);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.cta-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(229, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    top: 0;
    left: 0;
    animation: pulse 2s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.benefits-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.btn-glow {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--gradient-red);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    border: none;
    box-shadow: var(--glow-shadow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(229, 0, 0, 0.7);
}

/* CTA Section */
.smb-cta-section {
    background-color: var(--dark-color);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.smb-cta-section .section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2.animated-heading {
    font-size: 2.5rem;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.primary-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-red);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 0, 0, 0.4);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Navigation */
.navbar.dark-theme {
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navbar.dark-theme.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .challenge-grid,
    .solution-grid,
    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .challenge-grid,
    .solution-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
}

/* SVG Animation Elements */
.construction-dots {
    display: none;
}

.floating-element {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.red-square {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(229, 0, 0, 0.5);
}

.gear {
    display: none;
}

.small-gear {
    display: none;
}

.animated-svg {
    display: none;
}

.svg-animation-container {
    display: none;
}

/* Simplify animation keyframes */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    70% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

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