:root {
    --color-primary: #0D2642;
    /* Deep Navy */
    --color-accent: #FDE000;
    /* Vibrant Yellow */
    --color-text-dark: #1a1a1a;
    --color-text-light: #f5f5f5;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --color-gray-soft: #e0e0e0;

    --font-main: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 8px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #e5cb00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #0d2642;
    /* Dark Blue */
    color: #0d2642;
}

.btn-secondary:hover {
    background-color: #f3f6fb;
    /* Light Blue-Gray Tint */
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Header */
#main-header {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust based on actual logo ratio */
    width: auto;
}

#main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

#main-nav a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

#main-nav a:hover {
    color: var(--color-accent);
}

#main-nav .btn-primary {
    color: var(--color-primary);
}

/* Mobile Menu Toggle (Basic) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-accent);
    margin: 5px 0;
}

/* Hero Section */
#hero {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    color: white;
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    color: #e0e0e0;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Specific Hero Button Overrides */
.hero-actions .btn-secondary {
    color: white;
    border-color: white;
}

.hero-actions .btn-secondary:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Section Headers */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.divider {
    height: 4px;
    width: 80px;
    background-color: var(--color-accent);
    margin: var(--spacing-sm) auto;
}

/* The Bridge */
.bridge-content {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bridge-text>p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    color: #4b5b6b;
    /* Updated to requested gray */
}

.formula-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-weight: 700;
    font-size: 1.2rem;
    background-color: #f0f4f8;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.formula-part {
    color: var(--color-primary);
}

.formula-sign {
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* Solutions Grid */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
}

.domain-card {
    background: white;
    padding: var(--spacing-md) var(--spacing-md);
    border-radius: var(--border-radius);
    border: 1px solid #e6edf5;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* very light shadow */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.domain-card:hover {
    border-color: rgba(13, 38, 66, 0.25);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    /* Shadow lift above */
    transform: translateY(-3px);
}

.card-header {
    margin-bottom: var(--spacing-sm);
}

.icon-line {
    color: #0d2642;
    margin-bottom: var(--spacing-xs);
    display: inline-block;
}

.domain-card h3 {
    font-size: 1.25rem;
    color: #0d2642;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.card-label {
    font-size: 0.85rem;
    color: #4b5b6b;
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.card-separator {
    height: 1px;
    background-color: #e6edf5;
    margin-bottom: var(--spacing-sm);
    width: 100%;
}

.card-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-bullets li {
    font-size: 0.95rem;
    color: #4b5b6b;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
}

.card-bullets li::before {
    content: "•";
    color: var(--color-accent);
    /* Yellow bullet highlight */
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Previous styles removed */

/* Previous styles removed */

/* Contact Footer Area */
.contact-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

/* Footer */
footer {
    background-color: #081a2e;
    color: #cbd5e1;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-grid {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .domains-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #main-nav {
        display: none;
        /* Implement mobile menu logic if needed */
    }

    .mobile-menu-toggle {
        display: block;
    }

    #hero h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}

/* The Bridge - Redesign (Light Theme) */
#ponte {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-gray-soft);
}

#ponte::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 38, 66, 0.05) 0%, transparent 70%);
    /* Primary blue subtle gradient */
    border-radius: 50%;
}

.bridge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.divider-left {
    height: 4px;
    width: 60px;
    background-color: var(--color-accent);
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
}

/* Override text-white utility for this section if used in HTML, preferably change HTML, but CSS override works too */
#ponte h2 {
    color: var(--color-primary);
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-primary);
    /* Dark Blue */
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.insight-detail {
    font-size: 1.1rem;
    color: #4b5b6b;
    /* Updated to requested gray */
    line-height: 1.7;
    max-width: 90%;
}

.bridge-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    background: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    /* Generous padding */
    border-radius: 16px;
    border: 1px solid #e6edf5;
    /* Light refined border */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Very light shadow */
}

/* Formula Steps */
.formula-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.step-icon {
    /* Removed fixed width/height rigid containers that had backgrounds */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease;
}

.formula-step:hover .step-icon svg {
    transform: scale(1.1);
}

.formula-step h4 {
    color: #0d2642;
    /* Requested Deep Blue */
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    /* Semibold */
}

.step-label {
    font-size: 0.85rem;
    color: #4b5b6b;
    /* Requested Gray */
    text-transform: none;
    /* Sentence case */
    letter-spacing: normal;
    max-width: 180px;
    line-height: 1.4;
}

.formula-connector {
    font-size: 1.6rem;
    /* Reduced size */
    color: var(--color-accent);
    font-weight: 700;
    padding: 0 1rem;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
}

/* Result Step Highlight */
.formula-step.result .step-icon {
    /* Subtle highlight behind the rocket if needed, or just the rocket itself implies it */
    position: relative;
}

/* Add a glowing effect background ONLY for the result step to match "highlight yellow" */
.formula-step.result .step-icon::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(253, 224, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.formula-step.result h4 {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .bridge-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .divider-left {
        margin: var(--spacing-sm) auto var(--spacing-md);
    }

    .highlight-text {
        font-size: 1.3rem;
    }

    .bridge-visual {
        flex-direction: column;
        gap: var(--spacing-md);
        padding: var(--spacing-md);
    }

    .formula-connector {
        transform: rotate(90deg);
        padding: 0;
    }
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

/* Optional connector line behind steps if desired, or keep simple for now */

.process-step {
    text-align: center;
    padding: var(--spacing-md) var(--spacing-sm);
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(13, 38, 66, 0.1);
    /* Very subtle primary color */
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
    font-family: var(--font-main);
}

.process-step h3 {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    color: #0d2642;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.process-step p {
    color: #4b5b6b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.process-footer p {
    font-size: 1.1rem;
    color: #0d2642;
    /* Darker emphasizing text */
    font-weight: 500;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    background: #f0f4f8;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--color-accent);
}

/* Cycle Section - Circular Layout */
.cycle-wrapper {
    position: relative;
    width: 800px;
    height: 550px;
    margin: var(--spacing-lg) auto;
    max-width: 100%;
    /* Ensure it doesn't overflow viewport on smaller desktops */
}

.cycle-step {
    position: absolute;
    width: 260px;
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e6edf5;
    z-index: 2;
    /* Above arrows */
}

/* Positioning in Triangle */
.cycle-step.step-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-step.step-2 {
    bottom: 0px;
    right: 0;
}

.cycle-step.step-3 {
    bottom: 0px;
    left: 0;
}

.cycle-step:hover {
    transform: scale(1.05);
    /* Simplified hover for absolute positioning */
    box-shadow: var(--shadow-hover);
    border-color: rgba(13, 38, 66, 0.2);
    z-index: 3;
}

.cycle-step.step-1:hover {
    transform: translateX(-50%) scale(1.05);
}

.cycle-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    height: 60px;
    /* Fixed height for consistency */
    align-items: center;
}

.cycle-logo {
    height: 40px;
    /* Approximate requested size */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;

    /* Force color #10172c for transparent PNGs */
    filter: brightness(0) saturate(100%) invert(8%) sepia(35%) saturate(3207%) hue-rotate(214deg) brightness(95%) contrast(92%);

    /* Mix blend mode to handle white backgrounds */
    mix-blend-mode: multiply;
}

.cycle-logo-Kba {
    height: 100px;
    /* Approximate requested size */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;

    /* Force color #10172c for transparent PNGs */
    filter: brightness(0) saturate(100%) invert(8%) sepia(35%) saturate(3207%) hue-rotate(214deg) brightness(95%) contrast(92%);

    /* Mix blend mode to handle white backgrounds */
    mix-blend-mode: multiply;
}

.cycle-step:hover .cycle-logo {
    transform: scale(1.1);
}

.cycle-title {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cycle-subtitle {
    display: block;
    color: #4b5b6b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    min-height: 1.4em;
}

.cycle-desc {
    color: #4b5b6b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Arrows Position */
.cycle-arrow {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.cycle-arrow.arrow-1 {
    top: 80px;
    right: 180px;
    transform: rotate(10deg);
}

.cycle-arrow.arrow-2 {
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
}

.cycle-arrow.arrow-3 {
    top: 80px;
    left: 180px;
    transform: rotate(-10deg);
}


/* Mobile Responsiveness for Cycle */
@media (max-width: 900px) {
    .cycle-wrapper {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        /* Stack vertically */
        gap: var(--spacing-md);
        margin: var(--spacing-md) 0;
    }

    .cycle-step {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none !important;
        /* Reset transforms */
    }

    .cycle-step:hover {
        transform: translateY(-5px) !important;
    }

    /* Hide complex curved arrows on mobile */
    .cycle-arrow {
        display: none;
    }

    /* Add simple down arrows between steps using pseudo-elements or just spacing/simple arrow div */
    .cycle-step::after {
        content: '↓';
        display: block;
        font-size: 2rem;
        color: var(--color-accent);
        margin-top: var(--spacing-sm);
        font-weight: bold;
    }

    .cycle-step:last-child::after {
        content: none;
    }
}