/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from design */
    --primary-teal: #068367;
    --dark-teal: #095544;
    --light-beige: #DDE8D6;
    --dark-bg: #222222;
    --section-dark: #111111;
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --text-gray: #333333;
    
    /* Fonts */
    --font-inter: 'Inter', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
    --font-karla: 'Karla', sans-serif;
}

body {
    font-family: var(--font-inter);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: var(--section-dark);
    padding-top: 0;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Navigation - Unified Navigation Bar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px 40px;
    z-index: 1000;
    background-color: transparent;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.header.nav-hidden {
    transform: translateY(-100%);
}

.nav-container {
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 10px 32px;
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.25)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.15));
    opacity: 1;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links > a {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.nav-links > a:hover {
    color: #095544;
}

/* Dropdown Navigation */
.dropdown-menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    margin-top: 0;
}

.nav-container.dropdown-active .dropdown-menu {
    max-height: 300px;
    opacity: 1;
    padding: 24px 0 12px 0;
}

.dropdown-content {
    display: flex;
    justify-content: flex-end;
    gap: 120px;
    padding: 0 40px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dropdown-column h4 {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-teal);
    margin: 0 0 8px 0;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dropdown-column li a {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
    display: block;
    text-decoration: none;
}

.dropdown-column li a:hover {
    color: #095544;
}

.dropdown-sublist {
    margin-top: 8px;
}

/* Hero Section */
.hero {
    height: calc(100vh + 80px);
    min-height: calc(100vh + 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--section-dark);
    margin-top: -80px;
    padding-top: 0;
}

.hero .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-family: var(--font-inter);
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 86.4px;
    letter-spacing: -2.16px;
}

.hero-subtitle {
    font-family: var(--font-inter);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 38.4px;
}

.btn-primary {
    background-color: var(--light-beige);
    color: var(--text-dark);
    border: none;
    padding: 12px 32px;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.hero-arrow-btn {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ffffff;
    padding: 0;
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
}

.hero-arrow-btn:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, 4px);
}

.hero-arrow-btn svg {
    width: 24px;
    height: 24px;
}

.btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Expertise Section */
.expertise {
    background-color: var(--section-dark);
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 80px;
    text-align: center;
    line-height: 57.6px;
    letter-spacing: -0.96px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expertise-card {
    background-color: var(--light-beige);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
}

.expertise-card h3 {
    font-family: var(--font-inter);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.expertise-card p {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 24px;
}

/* Meet Eva Section */
.eva-section {
    background-color: var(--light-beige);
    padding: 100px 0 0;
    margin: 0 40px;
    border-radius: 0;
    overflow: hidden;
}

.section-title-dark {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
    line-height: 57.6px;
    letter-spacing: -0.96px;
}

.eva-description {
    font-family: var(--font-inter);
    font-size: 32px;
    font-weight: 400;
    color: var(--text-gray);
    text-align: center;
    max-width: 1088px;
    margin: 0 auto 80px;
    line-height: 38.4px;
}

.eva-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.eva-card {
    background-color: var(--light-beige);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.eva-card:hover {
    transform: translateY(-5px);
    background-color: rgba(240, 240, 240, 0.88);
    box-shadow: 0 30px 60px rgba(9, 85, 68, 0.15);
}

.eva-icon-wrapper {
    width: 100%;
    height: 233px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.eva-icon {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2) !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: center center !important;
}

.eva-card:hover .eva-icon-wrapper .eva-icon,
.eva-icon-wrapper:hover .eva-icon {
    transform: translate(-50%, -50%) scale(1.7) !important;
}

/* Individual icon positioning adjustments for better visual centering */
.eva-icon[src*="sentinal-icon"] {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.eva-card:hover .eva-icon-wrapper .eva-icon[src*="sentinal-icon"],
.eva-icon-wrapper:hover .eva-icon[src*="sentinal-icon"] {
    transform: translate(-50%, -50%) scale(1.7) !important;
}

/* Adjust Cyclopes image position downward */
.eva-icon[src*="cyclopes-icon"] {
    transform: translate(-50%, -30%) scale(1.2) !important;
}

.eva-card:hover .eva-icon-wrapper .eva-icon[src*="cyclopes-icon"],
.eva-icon-wrapper:hover .eva-icon[src*="cyclopes-icon"] {
    transform: translate(-50%, -30%) scale(1.7) !important;
}

/* Adjust Cipher image */
.eva-icon[src*="cipher-icon"] {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.eva-card:hover .eva-icon-wrapper .eva-icon[src*="cipher-icon"],
.eva-icon-wrapper:hover .eva-icon[src*="cipher-icon"] {
    transform: translate(-50%, -50%) scale(1.7) !important;
}

/* Adjust Pythia image */
.eva-icon[src*="pythia-icon"] {
    transform: translate(-50%, -50%) scale(1.2) !important;
}

.eva-card:hover .eva-icon-wrapper .eva-icon[src*="pythia-icon"],
.eva-icon-wrapper:hover .eva-icon[src*="pythia-icon"] {
    transform: translate(-50%, -50%) scale(1.7) !important;
}

.eva-card h3 {
    font-family: var(--font-inter);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.eva-card p {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-gray);
    line-height: 24px;
}

.eva-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 24px;
    border-radius: 999px;
    background-color: #095544;
    color: #ffffff;
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.eva-learn-more:hover {
    background-color: #068367;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(6, 131, 103, 0.3);
}

/* Solutions Section */
.solutions {
    background-color: var(--light-beige);
    padding: 0 0 100px;
    margin: 0 40px;
}

.solutions .container {
    background-color: transparent;
    padding: 60px 40px;
    border-radius: 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 60px auto 0;
}

.solution-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 400px;
}

.solution-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.solution-logo-wrapper {
    width: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-logo-img {
    max-width: 80%;
    height: auto;
    display: block;
}

.solution-card:first-child .solution-logo-img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 16px rgba(0, 0, 0, 0.2));
}

.solution-logo {
    font-family: var(--font-inter);
    font-size: 100px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 4.2px;
}

.eva-bridge .eva-text {
    font-family: var(--font-inter);
    color: #D3D3D3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eva-bridge .bridge-text {
    font-family: var(--font-inter);
    color: #7B3FF2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.multidoc-logo .multi-text {
    font-family: var(--font-inter);
    color: #D81B60;
}

.multidoc-logo .doc-text {
    font-family: var(--font-inter);
    color: #000000;
}

.remicle-logo .remicle-r {
    font-family: var(--font-inter);
    color: #068367;
}

.remicle-logo .remicle-rest {
    font-family: var(--font-inter);
    color: #333333;
}

.remicle-logo .trademark {
    font-family: var(--font-inter);
    color: #333333;
    font-size: 0.6em;
    vertical-align: super;
}

.solution-logo-img {
    max-width: 100%;
    height: auto;
}

.solution-label {
    font-family: var(--font-inter);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}

/* CTA Section */
.cta-section {
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background-color: var(--section-dark);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/building-bg.png');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.cta-title {
    font-family: var(--font-inter);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 27px;
}

/* Footer */
.footer {
    background-color: #095544;
    padding: 30px 80px 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 40px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 422px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.footer-section p {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 21px;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
}

.footer-contact-links a {
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-contact-links a:hover {
    opacity: 0.8;
}

/* Footer Links */
.footer-links {
    display: flex;
    gap: 50px;
    flex-shrink: 0;
    margin-right: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 0.8;
}

.footer-divider {
    height: 1px;
    background-color: #ffffff;
    margin: 16px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .eva-section {
        margin: 0 30px;
        border-radius: 28px;
    }
    
    .solutions .container {
        padding: 50px 30px;
    }

    .eva-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .eva-section {
        margin: 0 16px;
        border-radius: 20px;
    }
    
    .solutions .container {
        padding: 40px 20px;
    }
    
    .navbar {
        width: calc(100% - 40px);
        padding: 12px 20px;
        border-radius: 30px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background-color: var(--light-beige);
        width: calc(100% - 40px);
        max-width: 400px;
        text-align: left;
        transition: 0.3s ease;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        padding: 20px;
        gap: 0;
        border-radius: 20px;
        margin: 0 20px;
    }
    
    .nav-menu li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title,
    .section-title-dark {
        font-size: 36px;
    }
    
    .eva-description {
        font-size: 18px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .eva-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title,
    .section-title-dark {
        font-size: 28px;
    }
    
    .eva-description {
        font-size: 16px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .expertise-card h3,
    .eva-card h3 {
        font-size: 24px;
    }
    
    .solution-logo {
        font-size: 60px;
    }
}

/* Animation Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-animate {
    animation: fadeInUp 0.8s ease-out;
}

.expertise-card,
.eva-card,
.solution-card,
.section-title,
.section-title-dark {
    animation: fadeInUp 0.8s ease-out;
}