/*
IT WORKED! IT WORKED!! IT WORKED!!!
Theme Name: FincoApps Theme
Theme URI: https://fincoapps.com
Author: FincoApps
Author URI: https://fincoapps.com
Description: A custom WordPress theme for FincoApps, converted from React. Compatible with Elementor.
Version: 1.0.0
Text Domain: fincoapps
*/

/* Imports from React index.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Outfit:wght@400;700&display=swap');

:root {
    /* Colors */
    --bg-color: #050a18;
    --primary-color: #fb8c00;
    --primary-glow: rgba(251, 140, 0, 0.3);
    --secondary-color: #00b4ff;
    --secondary-glow: rgba(0, 180, 255, 0.3);
    --text-main: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-header: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 100px 20px;
    --container-max-width: 1200px;
}

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

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

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

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: var(--font-main);
}

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

.section {
    padding: var(--section-padding);
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* WordPress Specific Fixes */
.admin-bar .navbar {
    top: 32px;
    /* Adjust for Admin Bar */
}

/* Elementor Canvas Fixes */
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: var(--container-max-width);
}

/* =========================================
   COMPONENT STYLES (Namespaced)
   ========================================= */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    margin-top: -80px;
    /* Counteract navbar padding if needed, or adjust */
}

.hero-background-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px var(--primary-glow);
    display: inline-block;
}

.secondary-btn {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    backdrop-filter: var(--glass-blur);
    color: white;
    display: inline-block;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.hero-floating-icon {
    width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px var(--primary-glow));
}

.hero-glow-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

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

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
}

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }
}

/* Services Section */
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.services-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.services-card {
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.services-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.services-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    filter: drop-shadow(0 5px 15px var(--primary-glow));
}

.services-card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.services-card-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.services-learn-more {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.services-learn-more:hover {
    letter-spacing: 1px;
}

/* TechStack Section */
.tech-header {
    text-align: center;
    margin-bottom: 60px;
}

.tech-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.tech-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.tech-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color), #00d2ff);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.2rem;
}

.tech-info {
    display: flex;
    flex-direction: column;
}

.tech-name {
    font-weight: 600;
    color: var(--text-main);
}

.tech-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.trust-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trust-title {
    font-size: 3rem;
    margin-bottom: 24px;
}

.trust-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.trust-feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.trust-feature {
    display: flex;
    gap: 16px;
}

.trust-check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.trust-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.trust-feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.trust-visual {
    display: flex;
    justify-content: center;
}

.trust-stats-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-header);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .trust-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .trust-visual {
        order: -1;
    }

    .trust-stats-card {
        flex-direction: row;
        max-width: none;
        justify-content: space-around;
    }
}

@media (max-width: 768px) {
    .trust-title {
        font-size: 2.5rem;
    }

    .trust-stats-card {
        flex-direction: column;
        gap: 30px;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-detail-item label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-detail-item p {
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 10px 20px var(--primary-glow);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5rem;
    }
}