/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Color Palette - Pastel High-Contrast */
    --primary-color: #3d40e5;
    --secondary-color: #f741ab;
    --accent-color: #00cf82;
    --warning-color: #ed9802;
    --info-color: #2d65de;
    
    /* Light Shades */
    --primary-light: #EEF2FF;
    --secondary-light: #FDF2F8;
    --accent-light: #ECFDF5;
    --warning-light: #fffceb;
    --info-light: #EFF6FF;
    
    /* Dark Shades */
    --primary-dark: #1f226e;
    --secondary-dark: #be1a5f;
    --accent-dark: #06765e;
    --warning-dark: #a55816;
    --info-dark: #1e4fbf;
    
    /* Neutral Colors */
    --text-primary: #192536;
    --text-secondary: #6b6e76;
    --text-muted: #82879b;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #d3e0ef;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== GLOBAL STYLES ===== */
body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.26rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.02rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.57rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.37rem;
    line-height: 1.4;
}

h5 {
    font-size: 1.20rem;
    line-height: 1.4;
}

h6 {
    font-size: 1rem;
    line-height: 1.4;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== HEADER & NAVIGATION ===== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
}

.navbar-brand {
    font-size: 1.57rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-fast);
    padding: var(--spacing-sm) var(--spacing-md);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    margin-top: 76px;
    padding: var(--spacing-md) 0;
}

.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--info-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(95, 73, 205, 0.10)"/><circle cx="80" cy="80" r="2" fill="rgba(0, 168, 101, 0.10)"/><circle cx="40" cy="60" r="1.5" fill="rgba(219, 69, 155, 0.10)"/></svg>');
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    padding-top: 225px;
}

.hero-section h2 {
    font-size: 1.62rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.hero-section p {
    font-size: 1.27rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

/* ===== SECTION SPACING ===== */
.py-5 {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card .card-body {
    padding: var(--spacing-xl);
}

.service-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--spacing-lg);
}

.service-card ul li {
    padding: var(--spacing-xs) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
}

.service-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: var(--font-weight-bold);
}

.service-card .price {
    font-size: 1.61rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    text-align: center;
}

/* ===== FEATURE ITEMS ===== */
.feature-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-2px);
}

.feature-item h4 {
    margin-bottom: var(--spacing-sm);
}

/* ===== PRICING CARDS ===== */
.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: var(--spacing-xs);
    font-size: 0.98rem;
    font-weight: var(--font-weight-medium);
}

.pricing-card .card-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-xl);
    text-align: center;
}

.pricing-card .card-header h4 {
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-card .card-body {
    padding: var(--spacing-xl);
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.pricing-card ul li {
    padding: var(--spacing-sm) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--spacing-lg);
}

.pricing-card ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: var(--font-weight-bold);
}

/* ===== TEAM MEMBERS ===== */
.team-member {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-2px);
}

.team-member img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.team-member h5 {
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.team-member p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1.00rem;
}

/* ===== REVIEW CARDS ===== */
.review-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-2px);
}

.review-card .card-body {
    padding: var(--spacing-xl);
}

.review-card .stars {
    margin-bottom: var(--spacing-md);
}

.review-card p {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.review-card h6 {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0;
}

/* ===== CASE STUDY CARDS ===== */
.case-study-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.case-study-card:hover {
    transform: translateY(-2px);
}

.case-study-card .card-body {
    padding: var(--spacing-xl);
}

.case-study-card h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* ===== PROCESS STEPS ===== */
.process-step {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-2px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--spacing-md);
}

.process-step h5 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== TIMELINE ===== */
.timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-2xl);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: var(--spacing-xl);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: var(--spacing-xl);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 0;
}

.timeline-content {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== CAREER CARDS ===== */
.career-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.career-card:hover {
    transform: translateY(-2px);
}

.career-card .card-body {
    padding: var(--spacing-xl);
}

.career-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.career-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

.career-card .badge {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.90rem;
}

/* ===== INFO CARDS ===== */
.info-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(65, 51, 211, 0.25);
}

.contact-info {
    padding: var(--spacing-lg);
}

.contact-item {
    text-align: center;
}

.contact-item i {
    margin-bottom: var(--spacing-md);
}

.contact-item h5 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== BLOG CARDS ===== */
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-2px);
}

.blog-card .card-body {
    padding: var(--spacing-xl);
}

.blog-card h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.blog-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
}

/* ===== FAQ CARDS ===== */
.faq-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.faq-card:hover {
    transform: translateY(-2px);
}

.faq-card .card-body {
    padding: var(--spacing-xl);
}

.faq-card h5 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.faq-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== BUTTONS ===== */
.btn {
    font-weight: var(--font-weight-medium);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===== FORM VALIDATION ===== */
.form-control.is-invalid {
    border-color: #dd3a54;
    box-shadow: 0 0 0 0.2rem rgba(223, 67, 83, 0.25);
}

.form-control.is-valid {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(8, 208, 151, 0.25);
}

/* ===== ALERT MESSAGES ===== */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    margin-bottom: var(--spacing-md);
}

.alert-success {
    background-color: var(--accent-light);
    border-color: var(--accent-color);
    color: var(--accent-dark);
}

.alert-danger {
    background-color: #FEF2F2;
    border-color: #e72b41;
    color: #a02d23;
}

.btn-close {
    background: none;
    border: none;
    padding: 0;
    font-size: 1.28rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 1;
}

/* ===== FOOTER ===== */
footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-2xl) 0;
}

footer h5 {
    color: white;
    margin-bottom: var(--spacing-md);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

footer .list-unstyled li {
    margin-bottom: var(--spacing-xs);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: white;
}

/* ===== UTILITIES ===== */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.bg-light {
    background: var(--bg-light);
}

.text-warning {
    color: var(--warning-color);
}

/* ===== ADDITIONAL STYLES FOR MISSING CARD TYPES ===== */
.workflow-item, .integration-item, .security-item, .support-item, 
.guide-item, .tutorial-item, .template-item, .industry-item, .developer-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-normal);
}

.workflow-item:hover, .integration-item:hover, .security-item:hover, .support-item:hover,
.guide-item:hover, .tutorial-item:hover, .template-item:hover, .industry-item:hover, .developer-item:hover {
    transform: translateY(-2px);
}

.workflow-item h5, .integration-item h5, .security-item h5, .support-item h5,
.guide-item h5, .tutorial-item h5, .template-item h5, .industry-item h5, .developer-item h5 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.workflow-item p, .integration-item p, .security-item p, .support-item p,
.guide-item p, .tutorial-item p, .template-item p, .industry-item p, .developer-item p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.92rem;
}

/* ===== SPACE PAGE MINIMAL STYLES ===== */
#space {
    min-height: 50vh;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
