@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

/* Partners Carousel */
.partners-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-carousel {
    width: 100%;
    overflow: hidden;
}

.partners-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.partner-logo {
    min-width: 220px;
    max-width: 220px;
    margin: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.carousel-arrow {
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carousel-arrow svg {
    width: 20px;
    height: 20px;
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.carousel-arrow:hover {
    background: #e55a00;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1200px) {
    .partners-container {
        padding: 0 50px;
    }
    
    .prev-arrow {
        left: 5px;
    }
    
    .next-arrow {
        right: 5px;
    }
}

@media (max-width: 768px) {
    .partner-logo {
        min-width: 180px;
        max-width: 180px;
        margin: 0 15px;
    }
    .partner-logo img {
        max-width: 140px;
        filter: grayscale(0) !important;
        opacity: 0.8 !important;
    }
    .carousel-arrow {
        display: flex !important;
        width: 35px !important;
        height: 35px !important;
        background: var(--primary-color) !important;
    }
    .carousel-arrow svg {
        width: 16px !important;
        height: 16px !important;
    }
    .prev-arrow {
        left: 5px !important;
    }
    .next-arrow {
        right: 5px !important;
    }
    
    /* Mobile Menu Styles */
    .solarify-mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }
    
    .solarify-mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .mobile-logo-img {
        height: 40px;
        width: auto;
    }
    
    .mobile-close-btn {
        font-size: 28px;
        cursor: pointer;
        color: #333;
    }
    
    .mobile-menu-links {
        padding: 20px;
    }
    
    .mobile-nav-link {
        display: block;
        padding: 15px 0;
        color: #333;
        text-decoration: none;
        font-size: 16px;
        border-bottom: 1px solid #f5f5f5;
    }
    
    .mobile-nav-link.highlight {
        color: #FF6C0B;
        font-weight: 600;
    }
    
    .solarify-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .solarify-hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #181952;
        transition: all 0.3s ease;
    }
    
    /* Hero section fixes */
    section[style*="background-image: linear-gradient"] {
        padding: 120px 0 !important;
    }
    
    section[style*="background-image: linear-gradient"] h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    section[style*="background-image: linear-gradient"] h1 br {
        display: none;
    }
    
    /* Team section fixes */
    #filozofia > .nexten-container > div {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 15px !important;
    }
    
    #filozofia {
        padding: 60px 0 !important;
    }
    
    /* Services section fixes */
    #sluzby .card {
        margin-bottom: 20px;
    }
    
    /* Projects section fixes */
    .projects-grid-container {
        grid-template-columns: 1fr !important;
    }
    
    /* Hide desktop nav on mobile */
    .solarify-navbar-center, .solarify-navbar-right {
        display: none;
    }
    
    .solarify-hamburger {
        display: flex !important;
    }
    
    /* Show mobile menu when active */
    body.menu-open {
        overflow: hidden;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .solarify-hero h1 {
        font-size: 2rem !important;
    }
    
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .project-card-new {
        margin-bottom: 30px;
    }
    
    .nexten-container {
        padding: 0 15px;
    }
    
    .solarify-mobile-menu {
        max-width: 280px;
    }
}

/* Footer Styles */
.site-footer {
    background: var(--dark-blue);
    color: var(--text-light);
    padding: 60px 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

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

.social-links a {
    color: white;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--primary-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

:root {
    --primary-color: #000000;
    --secondary-color: #FF6C0B;
    --accent-color: #23235a;
    --dark-blue: #23235a;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px; /* Add padding for fixed navbar */
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;

    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Section Spacing */
section {
    padding: 6rem 1rem;
    margin: 0 auto;
    max-width: var(--max-width);
}

section h2 {
    margin-bottom: 4rem;
    text-align: center;
}

/* Card Improvements */
.feature, .service-category, .philosophy-point {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.feature:hover, .service-category:hover, .philosophy-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Button Improvements */
.cta, .nexten-projects-btn, .nexten-blog-btn {
    background: #FF6C0B;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 16px 36px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta:hover, .nexten-projects-btn:hover, .nexten-blog-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 108, 11, 0.2);
}

/* Image Improvements */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Animation Improvements */

/* On-scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

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

.delay-1 { transition-delay: 100ms !important; }
.delay-2 { transition-delay: 200ms !important; }
.delay-3 { transition-delay: 300ms !important; }
.delay-4 { transition-delay: 400ms !important; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Original Responsive Design */
@media (max-width: 900px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .headline-images {
        min-height: unset;
        flex-direction: column;
        align-items: center;
    }
    .headline {
        font-size: 9vw;
        text-align: center;
        margin-bottom: -40px;
    }
    .images-wrapper {
        position: relative;
        margin-top: 16px;
        gap: 16px;
    }
    .hero-info {
        align-items: center;
        margin-top: 0;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .feature, .service-category, .philosophy-point {
        padding: 1.5rem;
    }
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    width: 100%;
    padding: 60px 0 40px 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    width: 90%;
    max-width: 1300px;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}

.headline-images {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 380px;
}

.headline {
    font-size: 6vw;
    font-weight: 800;
    color: #000000;
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: -80px;
    z-index: 2;
    position: relative;
    background: transparent;
}

.images-wrapper {
    display: flex;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.hero-img {
    width: 240px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #eaeaea;
}

.hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: 0;
    margin-left: 40px;
}

.description {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 32px;
    max-width: 320px;
}

.cta {
    background: #FF6C0B;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.cta:hover {
    background: #5a59c7;
}

.cta-icon {
    font-size: 1.2em;
    margin-left: 6px;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 64px;
    width: 90%;
    max-width: 1100px;
    margin-top: 24px;
}

.stats-item {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 160px;
}

.avatars {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-left: -12px;
    background: #eaeaea;
}

.avatars img:first-child {
    margin-left: 0;
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
}

.stats-highlight {
    color: #FF6C0B;
}

.stats-label {
    font-size: 1.1rem;
    color: #222;
    font-weight: 500;
}

@media (max-width: 900px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .headline-images {
        min-height: unset;
        flex-direction: column;
        align-items: center;
    }
    .headline {
        font-size: 9vw;
        text-align: center;
        margin-bottom: -40px;
    }
    .images-wrapper {
        position: relative;
        margin-top: 16px;
        gap: 16px;
    }
    .hero-info {
        align-items: center;
        margin-top: 0;
        margin-left: 0;
    }
}

/* Sections */
section {
    padding: 5rem 1rem;
}

section h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.features {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services {
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-category ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.service-category li {
    margin-bottom: 0.5rem;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--light-bg);
}

.philosophy-points {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.philosophy-point {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.philosophy-point h3 {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-info > div {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    
}

.footer-column .footer-logo {
    max-width: 270px;
    margin-bottom: 20px;
    max-height: 350px;
    border-radius: 0px;
}

.footer-column .footer-description {
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.social-links a {
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-info svg {
    flex-shrink: 0;
    margin-top: 5px;
    color: var(--primary-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

footer {
    background-color: var(--dark-blue);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 20px;
    font-size: 0.95rem;
}

/* Hlavné Riešenia Section - Side by Side Layout */
.riesenia-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.riesenia-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.riesenia-diagram {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 600px;
    margin: 0 auto;
    flex: 1;
    min-width: 300px;
}

.riesenia-diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-circle {
    width: 180px;
    height: 180px;
    background-color: white;
    border-radius: 50%;
    display: flex !important; /* Force display */
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 4px solid var(--primary-color);
    opacity: 1 !important; /* Force opacity */
    visibility: visible !important; /* Force visibility */
    transform: none !important; /* Prevent any transform from hiding it */
}

.center-circle span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
    padding: 0 15px;
}

.riesenia-diagram-item {
    position: absolute;
    width: 180px;
}

.diagram-card {
    background-color: white;
    padding: 18px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.diagram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.diagram-card h4 {
    font-size: 1.1rem;
    color: var(--dark-blue);
    margin: 0 0 8px 0;
}

.diagram-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.item-1 { top: 0; left: 50%; transform: translateX(-50%); }
.item-2 { top: 50%; right: 0; transform: translateY(-50%); }
.item-3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.item-4 { top: 50%; left: 0; transform: translateY(-50%); }

/* Etapy Section */
.etapy-section {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    margin-top: 0;
}

.etapy-title {
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
    text-align: center;
}

.etapy-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;

}

.etapa-item {
    background-color: white;
    padding: 18px 20px 18px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 80px;
}

.etapa-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.etapa-item span {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .riesenia-container {
        flex-direction: column;
        align-items: center;
    }
    
    .riesenia-diagram {
        margin-bottom: 60px;
    }
    
    .etapy-section {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .riesenia-diagram {
        position: static;
        width: 100%;
        height: auto;
        min-height: 500px;
        margin: 0 0 40px 0;
    }
    
    .center-circle {
        display: none !important; /* Hide on mobile */
    }
    
    .center-circle span {
        font-size: 1.3rem;
    }
    
    .riesenia-diagram-item {
        position: static;
        width: 100%;
        margin-bottom: 15px;
        transform: none !important;
    }
    
    .diagram-card {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    .riesenia-diagram {
        position: static;
        width: 100%;
        height: auto;
        min-height: 500px;
        margin: 0 0 40px 0;
    }
}

/* Animations */
.feature, .service-category, .philosophy-point {
    transition: transform 0.3s ease;
}

.feature:hover, .service-category:hover, .philosophy-point:hover {
    transform: translateY(-5px);
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    padding: 2rem;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 1.5rem 0;
}

.mobile-menu a {
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-menu-button.active {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }
    
    .mobile-menu {
        display: block;
    }
}

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

.feature, .service-category, .philosophy-point {
    opacity: 0;
}

.feature.animate, .service-category.animate, .philosophy-point.animate {
    animation: fadeInUp 0.6s ease forwards;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Hover Effects */
.feature:hover, .service-category:hover, .philosophy-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Additional Responsive Styles */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .feature, .service-category, .philosophy-point {
        padding: 1.5rem;
    }
}

.nexten-intro {
    width: 100%;
    background: #fff;
    padding: 60px 0 40px 0;
    display: flex;
    justify-content: center;
}

.nexten-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    width: 90%;
    max-width: 1300px;
    gap: 48px;
}

.nexten-intro-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nexten-intro-headline {
    font-size: 3vw;
    font-weight: 800;
    color: #000000;
    margin-bottom: 40px;
    line-height: 1.1;
}

.nexten-intro-stats-desc {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.nexten-intro-stat {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
    margin-right: 10px;
    min-width: 110px;
}

.nexten-intro-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #000000;
}

.nexten-intro-stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF6C0B;
    line-height: 1.1;
}

.nexten-intro-desc {
    font-size: 1.1rem;
    color: #444;
    max-width: 400px;
    margin-top: 0.5rem;
}

.nexten-intro-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nexten-intro-image-wrapper {
    position: relative;
    display: inline-block;
}

.nexten-intro-img {
    width: 370px;
    height: 370px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #eaeaea;
    display: block;
}

.nexten-intro-badge {
    position: absolute;
    right: -40px;
    bottom: 40px;
    background: #FF6C0B;
    color: #fff;
    border-radius: 16px;
    padding: 28px 32px 24px 32px;
    box-shadow: 0 4px 24px rgba(123, 122, 237, 0.15);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.nexten-intro-badge-top {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 10px;
}

.nexten-intro-badge-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.nexten-intro-badge-bottom {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 1100px) {
    .nexten-intro-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nexten-intro-right {
        justify-content: center;
    }
    .nexten-intro-img {
        width: 320px;
        height: 320px;
    }
    .nexten-intro-badge {
        right: 0;
        bottom: 20px;
        min-width: 150px;
        padding: 20px 20px 16px 20px;
    }
}

@media (max-width: 700px) {
    .nexten-intro-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nexten-intro-headline {
        font-size: 2rem;
        text-align: center;
    }
    .nexten-intro-stats-desc {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
    .nexten-intro-desc {
        text-align: center;
        max-width: 100%;
    }
    .nexten-intro-img {
        width: 90vw;
        height: 220px;
        max-width: 320px;
    }
    .nexten-intro-badge {
        position: static;
        margin: 16px auto 0 auto;
        display: block;
        text-align: center;
        align-items: center;
    }
}

.nexten-services {
    width: 100%;
    background: #f7f8fa;
    padding: 60px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-services-headline {
    text-align: left;
    font-size: 2.7vw;
    font-weight: 800;
    color: #000000;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.1;
}

.nexten-services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 1300px;
    margin-bottom: 40px;
}

.nexten-service-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 36px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
    align-items: flex-start;
}

.nexten-service-card:hover {
    box-shadow: 0 8px 32px rgba(123, 122, 237, 0.13);
    transform: translateY(-4px) scale(1.02);
}

.nexten-service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.nexten-service-desc {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 32px;
    flex: 1;
}

.nexten-service-icon {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nexten-services-arrows {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}

.nexten-arrow-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s;
}

.nexten-arrow-btn:active {
    box-shadow: 0 2px 8px rgba(123, 122, 237, 0.13);
}

@media (max-width: 1100px) {
    .nexten-services-cards {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .nexten-services-headline {
        font-size: 1.5rem;
    }
    .nexten-services-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .nexten-service-card {
        padding: 28px 16px 18px 16px;
        min-height: 220px;
    }
}

.nexten-solar-panel {
    width: 100%;
    background: #fff;
    padding: 60px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-solar-panel-top {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 48px;
    width: 100%;
}

.nexten-solar-panel-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    width: 90%;
    max-width: 1300px;
    gap: 48px;
}

.nexten-solar-panel-left {
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.nexten-solar-panel-headline {
    font-size: 2.7vw;
    font-weight: 800;
    color: #000000;
    margin-bottom: 32px;
    line-height: 1.1;
}

.nexten-solar-panel-desc {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 24px;
    max-width: 500px;
}

.nexten-solar-panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nexten-solar-panel-list li {
    font-size: 1.08rem;
    color: #000000;
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.nexten-solar-panel-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #FF6C0B;
    border-radius: 50%;
}

.nexten-solar-panel-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nexten-solar-panel-images {
    position: relative;
    width: 420px;
    height: 320px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.nexten-solar-img {
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    background: #eaeaea;
    position: absolute;
    transition: box-shadow 0.2s, transform 0.2s;
}

.main-img {
    width: 260px;
    height: 320px;
    left: 0;
    top: 0;
    z-index: 2;
}

.side-img {
    width: 200px;
    height: 220px;
    right: 0;
    top: 40px;
    z-index: 1;
}

.nexten-solar-badge {
    position: absolute;
    left: 120px;
    bottom: -40px;
    width: 110px;
    height: 110px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 24px rgba(123, 122, 237, 0.13);
}

.nexten-solar-badge-text {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px dashed #FF6C0B;
    position: absolute;
    left: 10px;
    top: 10px;
}

.nexten-solar-badge-dot {
    width: 12px;
    height: 12px;
    background: #FF6C0B;
    border-radius: 50%;
    position: absolute;
    left: 49px;
    top: 49px;
    z-index: 2;
}

@media (max-width: 1100px) {
    .nexten-solar-panel-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nexten-solar-panel-images {
        width: 340px;
        height: 240px;
    }
    .main-img {
        width: 180px;
        height: 240px;
    }
    .side-img {
        width: 140px;
        height: 160px;
        top: 30px;
    }
    .nexten-solar-badge {
        left: 70px;
        bottom: -30px;
        width: 80px;
        height: 80px;
    }
    .nexten-solar-badge-text {
        width: 65px;
        height: 65px;
        left: 7px;
        top: 7px;
        font-size: 0.8rem;
    }
    .nexten-solar-badge-dot {
        width: 8px;
        height: 8px;
        left: 36px;
        top: 36px;
    }
}

@media (max-width: 700px) {
    .nexten-solar-panel-headline {
        font-size: 1.5rem;
        text-align: center;
    }
    .nexten-solar-panel-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nexten-solar-panel-left {
        align-items: center;
    }
    .nexten-solar-panel-desc {
        text-align: center;
        max-width: 100%;
    }
    .nexten-solar-panel-list {
        padding-left: 0;
    }
    .nexten-solar-panel-images {
        width: 90vw;
        max-width: 320px;
        height: 180px;
    }
    .main-img {
        width: 120px;
        height: 180px;
    }
    .side-img {
        width: 90px;
        height: 110px;
        top: 20px;
    }
    .nexten-solar-badge {
        left: 35px;
        bottom: -18px;
        width: 40px;
        height: 40px;
    }
    .nexten-solar-badge-text {
        width: 32px;
        height: 32px;
        left: 4px;
        top: 4px;
        font-size: 0.5rem;
    }
    .nexten-solar-badge-dot {
        width: 4px;
        height: 4px;
        left: 18px;
        top: 18px;
    }
}

.nexten-projects {
    width: 100%;
    background: #f7f8fa;
    padding: 60px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-projects-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1300px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.nexten-projects-headline {
    text-align: left;
    font-size: 2.7vw;
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    max-width: 600px;
}

.nexten-projects-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    min-width: 320px;
}

.nexten-projects-desc {
    font-size: 1.1rem;
    color: #000000;
    text-align: right;
    margin-bottom: 12px;
}

.nexten-projects-btn {
    background: #FF6C0B;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.nexten-projects-btn:hover {
    background: #5a59c7;
}

.nexten-projects-btn-icon {
    font-size: 1.2em;
    margin-left: 6px;
}

.nexten-projects-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 1300px;
}

.nexten-project-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.nexten-project-card:hover {
    box-shadow: 0 8px 32px rgba(123, 122, 237, 0.13);
    transform: translateY(-4px) scale(1.02);
}

.nexten-project-img {
    width: 50%;
    min-width: 180px;
    object-fit: cover;
    height: 100%;
    background: #eaeaea;
}

.nexten-project-info {
    padding: 36px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.nexten-project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.nexten-project-text {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 32px;
    flex: 1;
}

.nexten-project-details-btn {
    border: 1.5px solid #000000;
    color: #000000;
    background: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 32px;
    padding: 10px 28px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    display: inline-block;
}

.nexten-project-details-btn:hover {
    background: #FF6C0B;
    color: #fff;
    border-color: #FF6C0B;
}

@media (max-width: 1100px) {
    .nexten-projects-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nexten-projects-headline {
        font-size: 2rem;
        text-align: left;
    }
    .nexten-projects-action {
        align-items: flex-start;
        min-width: unset;
    }
    .nexten-projects-desc {
        text-align: left;
    }
    .nexten-projects-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nexten-project-card {
        flex-direction: column;
        min-height: 220px;
    }
    .nexten-project-img, .nexten-project-info {
        width: 100%;
    }
    .nexten-project-img {
        height: 180px;
        min-width: unset;
    }
    .nexten-project-info {
        padding: 24px 16px 18px 16px;
    }
}

@media (max-width: 700px) {
    .nexten-projects-headline {
        font-size: 1.5rem;
        text-align: center;
    }
    .nexten-projects-top {
        align-items: center;
        gap: 16px;
    }
    .nexten-projects-action {
        align-items: center;
        min-width: unset;
    }
    .nexten-projects-desc {
        text-align: center;
    }
}

.nexten-testimonials {
    width: 100%;
    background: #000000;
    padding: 80px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-testimonials-headline {
    text-align: left;
    font-size: 2.7vw;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.1;
}

.nexten-testimonials-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    width: 90%;
    max-width: 1300px;
    gap: 48px;
}

.nexten-testimonials-images {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 340px;
}

.testimonial-img {
    width: 270px;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    background: #eaeaea;
    position: absolute;
    transition: box-shadow 0.2s, transform 0.2s;
}

.testimonial-img-1 {
    left: 0;
    top: 0;
    z-index: 2;
    transform: rotate(-8deg);
}

.testimonial-img-2 {
    left: 120px;
    top: 40px;
    z-index: 1;
    transform: rotate(8deg);
}

.nexten-testimonials-quote-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
    max-width: 520px;
    margin-left: auto;
}

.testimonial-quote-icon {
    margin-bottom: 18px;
}

.testimonial-quote-text {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-quote-author {
    margin-bottom: 32px;
}

.testimonial-quote-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.testimonial-quote-location {
    color: #b3b3e6;
    font-size: 1rem;
}

.testimonial-arrows {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
}

.testimonial-arrow-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    outline: none;
    transition: box-shadow 0.2s;
}

.testimonial-arrow-btn:active {
    box-shadow: 0 2px 8px rgba(123, 122, 237, 0.13);
}

@media (max-width: 1100px) {
    .nexten-testimonials-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .nexten-testimonials-images {
        min-height: 220px;
    }
    .testimonial-img {
        width: 160px;
        height: 220px;
    }
    .testimonial-img-2 {
        left: 70px;
        top: 20px;
    }
    .nexten-testimonials-quote-block {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    .nexten-testimonials-headline {
        font-size: 1.5rem;
        text-align: center;
    }
    .nexten-testimonials-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nexten-testimonials-images {
        min-height: 120px;
    }
    .testimonial-img {
        width: 90px;
        height: 120px;
    }
    .testimonial-img-2 {
        left: 40px;
        top: 10px;
    }
}

.nexten-blog {
    width: 100%;
    background: #fff;
    padding: 60px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-blog-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    max-width: 1300px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.nexten-blog-headline {
    text-align: left;
    font-size: 2.7vw;
    font-weight: 800;
    color: #000000;
    line-height: 1.1;
    max-width: 600px;
}

.nexten-blog-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    min-width: 320px;
}

.nexten-blog-desc {
    font-size: 1.1rem;
    color: #000000;
    text-align: right;
    margin-bottom: 12px;
    max-width: 340px;
}

.nexten-blog-btn {
    background: #FF6C0B;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 14px 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.nexten-blog-btn:hover {
    background: #5a59c7;
}

.nexten-blog-btn-icon {
    font-size: 1.2em;
    margin-left: 6px;
}

.nexten-blog-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 1300px;
}

.nexten-blog-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.nexten-blog-card:hover {
    box-shadow: 0 8px 32px rgba(123, 122, 237, 0.13);
    transform: translateY(-4px) scale(1.02);
}

.nexten-blog-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    background: #eaeaea;
}

.nexten-blog-meta {
    font-size: 0.98rem;
    color: #888;
    margin: 18px 0 8px 0;
    padding: 0 18px;
}

.nexten-blog-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 18px;
    padding: 0 18px;
    line-height: 1.3;
}

@media (max-width: 1100px) {
    .nexten-blog-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nexten-blog-headline {
        font-size: 2rem;
        text-align: left;
    }
    .nexten-blog-action {
        align-items: flex-start;
        min-width: unset;
    }
    .nexten-blog-desc {
        text-align: left;
    }
    .nexten-blog-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .nexten-blog-headline {
        font-size: 1.5rem;
        text-align: center;
    }
    .nexten-blog-top {
        align-items: center;
        gap: 16px;
    }
    .nexten-blog-action {
        align-items: center;
        min-width: unset;
    }
    .nexten-blog-desc {
        text-align: center;
    }
    .nexten-blog-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .nexten-blog-img {
        height: 180px;
    }
}

.nexten-footer {
    width: 100%;
    background: #f7f8fa;
    padding: 60px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nexten-footer-cta {
    width: 90%;
    max-width: 1200px;
    min-height: 280px;
    height: auto;
    margin: 0 auto 60px auto;
    background: #111;
    border-radius: 28px;
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.nexten-footer-cta-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 0;
    padding: 48px;
}

.nexten-footer-cta-text {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 400px;
    margin-right: 48px;
    margin-left: 0;
    z-index: 2;
    text-align: left;
    line-height: 1.6;
}

.nexten-footer-cta-headline {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    z-index: 2;
    text-align: left;
}

.nexten-footer-cta-btn {
    background: #FF6C0B;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 32px;
    padding: 16px 36px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
    margin-top: 32px;
}

.nexten-footer-cta-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 108, 11, 0.2);
}

.nexten-footer-bottom {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    padding: 40px 0 24px 0;
}

.nexten-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 48px;
    font-size: 1.1rem;
}

.nexten-footer-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.nexten-footer-links a:hover {
    color: #FF6C0B;
    transform: translateX(4px);
}

.nexten-footer-social-copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

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

.nexten-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s ease;
}

.nexten-footer-social a:hover {
    background: #FF6C0B;
    transform: translateY(-2px);
}

.nexten-footer-social a:hover svg {
    fill: #fff;
}

.nexten-footer-copyright {
    color: #666;
    font-size: 1rem;
    text-align: right;
}

@media (max-width: 1100px) {
    .nexten-footer-cta-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px;
    }
    
    .nexten-footer-cta-headline {
        font-size: 2.5rem;
    }
    
    .nexten-footer-bottom {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .nexten-footer-social-copyright {
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .nexten-footer-cta {
        min-height: auto;
        margin-bottom: 40px;
    }
    
    .nexten-footer-cta-content {
        padding: 24px;
    }
    
    .nexten-footer-cta-headline {
        font-size: 2rem;
    }
    
    .nexten-footer-cta-text {
        font-size: 1.1rem;
    }
    
    .nexten-footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
    }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
}

p {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}

/* --- SOLARIFY NAVBAR STYLES --- */
.solarify-navbar {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--dark-blue, #23235a) 0%, #1a1a45 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    border-bottom: none;
    min-height: 80px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.solarify-navbar-left,
.solarify-navbar-center,
.solarify-navbar-right {
    display: flex;
    align-items: center;
}

.solarify-navbar-center {
    gap: 32px;
}

.solarify-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.solarify-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.solarify-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-color, #FF6C0B);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.solarify-nav-link:hover {
    color: #fff;
}

.solarify-nav-link:hover::after,
.solarify-nav-link.active::after {
    width: 80%;
    left: 10%;
}

.solarify-nav-link.active {
    color: #fff;
    font-weight: 600;
}

.solarify-dropdown {
    font-size: 0.9em;
    margin-left: 4px;
}

.solarify-contact-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 500;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 32px;
    padding: 10px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-left: 16px;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solarify-contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--secondary-color, #FF6C0B);
    transition: all 0.3s ease;
    z-index: -1;
}

.solarify-contact-btn:hover {
    color: #fff;
    border-color: var(--secondary-color, #FF6C0B);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.solarify-contact-btn:hover::before {
    width: 100%;
}

.solarify-navbar-center {
    gap: 8px;
}

/* Logo hover effect */
.solarify-logo {
    transition: all 0.3s ease;
}

.solarify-logo:hover {
    transform: scale(1.05);
}

/* Hamburger Menu */
.solarify-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.solarify-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solarify-mobile-menu {
    color: var(--dark-blue);
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 2001;
    transition: all 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo-img {
    height: 40px;
    border-radius: 0;
}

.mobile-close-btn {
    font-size: 40px;
    color: var(--dark-blue);
    cursor: pointer;
    padding: 0 10px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.mobile-nav-link {
    color: var(--dark-blue);
    text-decoration: none;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--secondary-color, #FF6C0B);
    border-bottom-color: var(--secondary-color, #FF6C0B);
    padding-left: 5px;
}

.mobile-nav-link.highlight {
    background: var(--secondary-color, #FF6C0B);
    color: white;
    border-radius: 8px;
    margin-top: 10px;
    padding: 15px;
    text-align: center;
    border: none;
    font-weight: 600;
}

/* Navbar responsive adjustments */
@media (max-width: 992px) {
    .solarify-navbar {
        padding: 0 24px;
    }
    
    .solarify-navbar-center, 
    .solarify-navbar-right {
        display: none;
    }
    
    .solarify-hamburger {
        display: flex;
    }
    
    .solarify-mobile-menu.active {
        right: 0;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    .solarify-logo-img {
        height: 45px;
    }
}

/* Remove old nav, .nav-links, and .logo rules to avoid conflicts */
/* nav, .nav-links, .logo { display: none !important; } */

section, .hero, .about, .services, .philosophy, .contact, .nexten-intro, .nexten-services, .nexten-solar-panel, .nexten-projects, .nexten-testimonials, .nexten-blog, .nexten-footer {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
}

.nexten-trusted, .nexten-trusted-inner, .nexten-trusted-logos {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 1700px) {
    section, .hero, .about, .services, .philosophy, .contact, .nexten-intro, .nexten-services, .nexten-solar-panel, .nexten-projects, .nexten-testimonials, .nexten-blog, .nexten-footer {
        max-width: 98vw;
        padding-left: 12px;
        padding-right: 12px;
    }
    header, .solarify-navbar {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Contact Form Section Styles */
.contact-form-section {
  width: 100%;
  background: #fff;
  padding: 60px 0 60px 0;
  display: flex;
  justify-content: center;
}

.contact-form-container {
  display: flex;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.contact-form-left {
  flex: 1;
  min-width: 320px;
}

.contact-form-left h2 {
  font-size: 2.7rem;
  font-weight: 800;
  color: #181952;
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-form-left p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 32px;
  max-width: 500px;
}

.contact-form {
  width: 100%;
}

.contact-form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.contact-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.contact-form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #181952;
}

.contact-form input[type='text'],
.contact-form input[type='email'] {
  padding: 16px 20px;
  border: 1.5px solid #d6d7e0;
  border-radius: 32px;
  font-size: 1.1rem;
  margin-bottom: 0;
  outline: none;
  transition: border 0.2s;
}

.contact-form textarea {
  padding: 16px 20px;
  border: 1.5px solid #d6d7e0;
  border-radius: 24px;
  font-size: 1.1rem;
  resize: vertical;
  min-height: 120px;
  outline: none;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7B7AED;
}

.checkbox-label {
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.contact-form-btn {
  background: #7B7AED;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 32px;
  padding: 16px 36px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(123, 122, 237, 0.13);
}

.contact-form-btn:hover {
  background: #5a59c7;
}

.contact-form-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (max-width: 900px) {
  .contact-form-container {
    flex-direction: column;
    gap: 32px;
    max-width: 98vw;
  }
  .contact-form-right {
    width: 100%;
  }
}

/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-blue);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-consent-content p {
    margin: 0;
    flex: 1;
    min-width: 280px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-content a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-consent-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for cookie banner */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-consent-content p {
        margin-bottom: 16px;
    }
}
