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

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F0F3F5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

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

.logo img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #80b7e0;
}

/* Hero Section */
.hero {
    background:
        radial-gradient(ellipse 80% 50% at center 25%, rgba(128, 183, 224, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at center 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #005580 0%, #003b66 35%, #002844 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;
}

.hero-logo img {
    width: 450px;
    max-width: 85vw;
    height: auto;
    filter:
        drop-shadow(0 0 100px rgba(128, 183, 224, 0.7))
        drop-shadow(0 0 50px rgba(255, 255, 255, 0.4))
        drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#typewriter {
    color: #80b7e0;
    border-right: 2px solid #80b7e0;
    padding-right: 2px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { border-color: #80b7e0; }
    51%, 100% { border-color: transparent; }
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: #003b66;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-secondary {
    background: #003b66;
    color: #fff;
    border: 2px solid #003b66;
}

.cta-secondary:hover {
    background: #004d80;
    border-color: #004d80;
}

.cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffffff;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    color: #80b7e0;
    margin-bottom: 30px;
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #003b66;
}

/* Services Section */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
    grid-column: span 1;
}

.services-grid::after {
    content: '';
    grid-column: span 1;
}

@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(2),
    .services-grid .service-card:nth-child(3) {
        grid-column: span 2;
    }

    .services-grid .service-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .services-grid .service-card:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .services-grid::after {
        display: none;
    }
}

.service-card {
    background: #F0F3F5;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 59, 102, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003b66;
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    opacity: 0;
    padding: 0;
}

.service-details.show {
    max-height: 250px;
    opacity: 1;
    padding: 20px 0 0 0;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-details li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #003b66;
    font-weight: bold;
    font-size: 1.1em;
}

/* Portfolio Section */
.portfolio {
    background: #F0F3F5;
}

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

.project-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.project-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003b66;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.by-syventa {
    font-size: 0.8em;
    font-weight: 400;
    color: #888;
    font-style: italic;
}

.project-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(128, 183, 224, 0.2);
    color: #003b66;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-link {
    color: #003b66;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #80b7e0;
}

/* Coming Soon Project Cards */
.project-card.coming-soon {
    position: relative;
    opacity: 0.9;
    background: linear-gradient(135deg, #F0F3F5 0%, #e9ecef 100%);
}

.project-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(0, 59, 102, 0.05) 30%,
        rgba(0, 59, 102, 0.05) 70%,
        transparent 70%);
    background-size: 20px 20px;
    border-radius: 15px;
    pointer-events: none;
}

.project-card.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact {
    background: #fff;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

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

.contact-item {
    font-size: 1.1rem;
}

.contact-item strong {
    color: #003b66;
}

.contact-item a {
    color: #003b66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #80b7e0;
}

/* Footer */
footer {
    background: #003b66;
    color: #F0F3F5;
    text-align: center;
    padding: 30px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        gap: 40px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        font-size: 1.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        text-align: left;
    }
    
    section {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .project-card,
    .service-card {
        padding: 25px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animations */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Scroll Animations */
.service-card,
.project-card,
.contact-info {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.animate-in,
.project-card.animate-in,
.contact-info.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #003b66;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #80b7e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 59, 102, 0.4);
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button:hover {
    animation: pulse 0.6s ease-in-out;
}

/* 3-Säulen Übersicht */
.pillars-section {
    background: #fff;
    padding: 80px 0;
}

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    color: #555;
    max-width: 800px;
    margin: -30px auto 50px;
    line-height: 1.7;
}

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

.pillar-card {
    background: linear-gradient(135deg, #F0F3F5 0%, #e9ecef 100%);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 59, 102, 0.12);
}

.pillar-icon-emoji {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003b66;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.pillar-subtitle {
    color: #80b7e0;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.pillar-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pillar-card p:last-of-type {
    flex-grow: 1;
}

.pillar-link {
    display: inline-block;
    color: #003b66;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #003b66;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-top: auto;
}

.pillar-link:hover {
    background: #003b66;
    color: #fff;
}

/* Products Section */
.products {
    background: #F0F3F5;
}

.product-promise,
.ideal-for,
.resource-goal {
    text-align: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(0, 59, 102, 0.05);
    border-radius: 15px;
    border-left: 4px solid #003b66;
}

.product-promise p,
.ideal-for p,
.resource-goal p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

/* Resources Section */
.resources {
    background: #fff;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.resource-card {
    background: #F0F3F5;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.resource-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003b66;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.resource-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Why Syventa Section */
.why-section {
    background: linear-gradient(135deg, #003b66 0%, #005580 100%);
    color: #fff;
    padding: 80px 0;
}

.why-section h2 {
    color: #fff;
}

.why-headline {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: #80b7e0;
}

.why-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.why-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: inline-block;
    text-align: left;
}

.why-list li {
    font-size: 1.1rem;
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.why-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
}

.why-solution {
    font-size: 1.4rem !important;
    font-weight: 700;
    color: #80b7e0;
    margin-top: 30px !important;
}

/* About Section */
.about {
    background: #F0F3F5;
    padding: 80px 0;
}

.about-headline {
    text-align: center;
    font-size: 1.4rem;
    color: #80b7e0;
    font-weight: 600;
    margin-bottom: 30px;
    margin-top: -30px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.team-member {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.team-member h3 {
    font-family: 'Montserrat', sans-serif;
    color: #003b66;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.team-role {
    color: #80b7e0;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 15px;
}

.team-member p:last-child {
    color: #666;
    line-height: 1.6;
}

.about-mission {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: #003b66;
    padding: 25px;
    background: rgba(0, 59, 102, 0.05);
    border-radius: 15px;
}

/* Contact Updates */
.contact-intro {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.6;
}

.contact-prompt {
    background: #F0F3F5;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-prompt ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.contact-prompt li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.contact-prompt li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #003b66;
}

.contact-promise {
    margin-top: 20px;
    font-style: italic;
    color: #666;
}

.contact-cta {
    margin-top: 20px;
    display: inline-block;
}

/* Responsive Updates */
@media (max-width: 992px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .why-headline {
        font-size: 1.4rem;
    }

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

@media (max-width: 480px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}