/* -------------------------------------------------------------
   Nexa Solutions - CSS Design System & Stylesheet
   Theme: Clean, White, Pastel Green, Premium Single Page
   ------------------------------------------------------------- */

:root {
    /* Color Palette */
    --bg-base: #ffffff;
    --bg-offset: #f4faf8;
    --bg-card: #ffffff;
    --primary: #86d5c1; /* Beautiful Pastel Mint Green */
    --primary-dark: #62bfa6;
    --primary-light: #e5f7f3;
    --primary-glow: rgba(134, 213, 193, 0.15);
    
    /* Typography Colors */
    --text-primary: #1c2e2a; /* Dark Forest Slate for readability & matching theme */
    --text-secondary: #516460;
    --text-muted: #829590;
    --text-light: #ffffff;
    
    /* Structural Elements */
    --border-color: #e2f0ec;
    --border-hover: #bde5db;
    --card-shadow: 0 10px 30px -10px rgba(28, 46, 42, 0.04);
    --card-shadow-hover: 0 20px 40px -15px rgba(98, 191, 166, 0.15);
    
    /* Animation Timing */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text-primary);
}

p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary);
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 191, 166, 0.25);
}

.btn-secondary {
    background-color: var(--primary-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 191, 166, 0.15);
}

.w-full {
    width: 100%;
}

/* Header & Navigation */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    transition: var(--transition-smooth);
}

#header.scrolled .navbar {
    padding: 12px 24px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 120px 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background-color: var(--primary);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background-color: #c9ebd8;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(134, 213, 193, 0.1) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--text-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.hero-title {
    font-size: 4.8rem;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

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

.logo-card {
    background: #ffffff;
    padding: 60px;
    border-radius: 36px;
    box-shadow: 0 30px 60px -15px rgba(28, 46, 42, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-card:hover {
    transform: translateY(-8px) rotate(2deg);
    box-shadow: 0 40px 80px -20px rgba(98, 191, 166, 0.2);
    border-color: var(--border-hover);
}

.hero-logo {
    width: 220px;
    height: auto;
    object-fit: contain;
}

/* Sections Styling */
section {
    padding: 120px 0;
}

.section-tag {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
}

.section-subtitle-text {
    max-width: 600px;
    font-size: 1.15rem;
    margin: 0 auto;
}

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

.section-title-wrapper {
    margin-bottom: 60px;
}

/* About Section */
.about-section {
    background-color: var(--bg-offset);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-text-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-paragraph {
    font-size: 1.1rem;
}

.about-paragraph.highlight {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
}

.about-features-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateX(8px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.about-card-icon {
    width: 54px;
    height: 54px;
    background-color: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.about-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.about-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Services Section */
.services-section {
    background-color: var(--bg-base);
}

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

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 28px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
}

/* Company Banner */
.company-banner {
    padding: 60px 0;
    background-color: var(--bg-offset);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.banner-box {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.banner-logo-wrapper {
    flex-shrink: 0;
    background-color: var(--primary-light);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.banner-text h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.banner-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-base);
}

.contact-centered {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 32px;
    box-shadow: var(--card-shadow);
}

.contact-desc {
    font-size: 1.15rem;
    margin-bottom: 50px;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-method-card {
    background-color: var(--bg-offset);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-method-content p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-link {
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.contact-link:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.contact-address {
    word-break: break-word;
}

/* Footer Styling */
.footer {
    background-color: var(--bg-offset);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 40px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 48px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.footer-tagline-multiline {
    max-width: 600px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-sec-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: inline-block;
    margin-top: 6px;
}

.footer-divider {
    height: 1px;
    background-color: var(--border-color);
    margin-bottom: 40px;
}

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

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }
    .hero-container, .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    
    .navbar {
        padding: 16px 24px;
    }
    
    .nav-links, .nav-cta {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .logo-card {
        padding: 40px;
    }
    
    .hero-logo {
        width: 160px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .banner-box {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .contact-centered {
        padding: 40px 24px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
