/* Modern Light Theme Variables (Orange & Green Accents) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-card: #ffffff;
    --text-primary: #111827;
    --text-secondary: #4b5563;

    /* Accents */
    --accent-orange: #f97316;
    /* Orange-500 */
    --accent-green: #10b981;
    /* Emerald-500 */
    --accent-color: var(--accent-orange);
    /* Main interaction color */

    --accent-hover: #ea580c;
    --accent-glow: rgba(249, 115, 22, 0.2);

    --border-color: #e5e7eb;
    --success-color: var(--accent-green);

    /* Gradients */
    --gradient-hero: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.15), transparent 40%);

    --gradient-text: linear-gradient(135deg, #111827 30%, #f97316 100%);

    --transition-speed: 0.3s;
    --max-width: 1200px;
    --nav-height: 70px;
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.text-gradient {
    /* Subtle gradient for emphasis */
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    /* Slightly squarer for professional look */
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-orange);
    color: white;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(249, 115, 22, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
}

/* Navigation Styles have been moved to _header/style.css */

/* Hero Section */
.hero {
    min-height: auto;
    /* Removed 100vh constraint */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: calc(var(--nav-height) + 3rem);
    /* Adjusted padding */
    padding-bottom: 3rem;
    background: var(--gradient-hero);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    /* Slightly wider to prevent too many line breaks */
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-avatar {
    width: 120px;
    /* Reduced from 150px */
    height: 120px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: var(--shadow-hover);
    margin: 0 auto 1.5rem;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

h1 {
    font-size: 3rem;
    /* Reduced from 3.5rem */
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* AI Secretary Explanation */
.ai-secretary-explanation {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 12px;
    text-align: left;
}

.ai-secretary-explanation i {
    font-size: 1.25rem;
    color: #7c3aed;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.ai-secretary-explanation p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-soft);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-orange);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

/* Featured Work (Portfolio) */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.portfolio-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-hover);
}

@media (min-width: 768px) {
    .portfolio-item {
        flex-direction: row;
    }

    .portfolio-image {
        width: 40%;
    }

    .portfolio-content {
        width: 60%;
    }
}

.portfolio-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-image {
    background: var(--bg-secondary);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    border-right: 1px solid var(--border-color);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.achievement-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    /* Darker amber for better contrast on white */
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Trust / Experience */
.trust-section {
    text-align: center;
    background: var(--bg-secondary);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin-top: 3rem;
}

.trust-logo {
    height: 60px;
    /* Increased from 40px */
    width: auto;
    object-fit: contain;
    transition: all var(--transition-speed);
}

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

/* Trust Section Typography */
.trust-section p {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.trust-subtext {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #9ca3af !important;
    /* Gray-400 forced */
}

.inline-link {
    color: var(--accent-orange);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.inline-link:hover {
    color: var(--accent-hover);
    text-decoration: none;
}


.company-name {
    display: none;
}

@keyframes borderPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
        border-color: transparent;
    }

    50% {
        box-shadow: 0 0 20px 0 rgba(249, 115, 22, 0.2);
        border-color: var(--accent-orange);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
        border-color: transparent;
    }
}

.highlight-effect {
    animation: borderPulse 2s ease-out 1;
    /* Pulse 1 time */
    border-color: var(--accent-orange);
    /* Ensure border color is visible during animation context if needed, though keyframes drive it */
}

/* Footer Styles have been moved to _footer/style.css */

/* Deprecated Social Links replaced by direct-contact-box */

/* Helper for hiding/showing language content */
[data-lang] {
    transition: opacity 0.3s ease;
}





/* Alternating Backgrounds */
#services {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .portfolio-grid {
        gap: 2rem;
    }
}

.portfolio-grid {
    gap: 2rem;
}

/* Contact Section (New) */
.contact-section {
    background: #ffffff;
    /* White background */
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
}

.contact-info {
    color: var(--text-primary);
    /* Dark text for white bg */
}

.contact-info h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-num {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-note {
    background: var(--bg-secondary);
    /* Light gray for note */
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.pricing-note p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: var(--accent-green);
    font-weight: 600;
}

.section-header {
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-align: left;
    /* Explicitly left align to fix inconsistency */
}

.section-header.text-center {
    text-align: center;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    /* Limit width for readability */
}

/* Footer Simplified styles moved to widget */

/* Cleanup old specific styles if necessary (override them) */
.footer-content,
.footer-form-column,
.footer-contacts-column {
    display: none;
    /* Hide old structure remnants if any exist */
}


/* Contact Form Styles moved to _lead_form/style.css */

/* Form Styles for Modal */
.modal-content .form-group {
    margin-bottom: 1.5rem;
}

.modal-content .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    /* Slate-300 for better visibility */
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background-color: #ffffff;
    color: var(--text-primary);
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.modal-content button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
}

/* Navigation & Logo Updates - Reused in Widget, kept here if used elsewhere or safe to remove if only in nav. 
   Assuming .nav-logo is only used in nav, removing. 
   .home-icon-link seems unused in extracted code, keeping if used in other pages (unlikely based on grep).
*/


/* CTA Block Styles */
.cta-block {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.cta-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.cta-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-decoration: underline;
    transition: color 0.2s;
    display: inline-block;
}

.cta-link:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

/* Mobile Menu Implementation moved to widget */


/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--accent-orange);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cookie-primary {
    background: var(--accent-orange);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.btn-cookie-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.btn-cookie-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-cookie-secondary:hover {
    border-color: var(--text-primary);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .cookie-banner {
        width: 95%;
        padding: 1.25rem;
        bottom: 15px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .btn-cookie {
        flex: 1;
        text-align: center;
    }
}