/* Agriculture Page Specific Styles */

/* Visibility helpers for responsive video swaps */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 768px) {
	.desktop-only { display: none !important; }
	.mobile-only { display: block !important; }
}

/* Innovative Projects Layout Styles */
.section-title {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-family: 'Space Mono', monospace;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}
.innovative-projects-layout {
    display: flex;
    gap: 0; /* No gap - buttons connect directly to image */
    align-items: stretch;
    margin: 0 auto; /* Removed vertical margins */
    max-width: 1400px; /* Increased max width for larger display */
    height: 500px; /* Increased height for bigger content */
    background: transparent; /* Remove background to blend with page */
    box-shadow: none; /* Remove shadow */
    border-radius: 0; /* Remove border radius */
    overflow: hidden; /* Ensure clean edges */
}

.project-buttons {
    display: flex;
    flex-direction: column;
    gap: 0; /* No gaps between buttons */
    flex: 0 0 280px; /* Increased width for buttons column */
    height: 100%;
    background: transparent; /* Make the container transparent */
}

.project-btn {
    background: transparent; /* Make buttons transparent */
    border: none; /* Remove all borders completely */
    border-radius: 0; /* No border radius for seamless connection */
    padding: 1rem; /* Increased padding for bigger buttons */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    flex: 1; /* Equal height distribution (500px ÷ 3 = ~167px each) */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px; /* Increased minimum height for bigger buttons */
}

/* Remove border from last button */
.project-btn:last-child {
    border-bottom: none;
}

/* Glow effect on buttons */
.project-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1), rgba(32, 201, 151, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-btn:hover::before {
    opacity: 1;
}

.project-btn:hover {
    background: rgba(0, 87, 184, 0.1); /* Subtle background on hover */
    transform: scale(1.02); /* Subtle scale effect */
}

.project-btn.active {
    background: rgba(0, 87, 184, 0.15); /* Subtle background when active */
}

.project-btn.active::before {
    opacity: 1;
}

.project-btn-image {
    width: 95%; /* Increased to fill more space */
    height: 95%;
    object-fit: contain; /* Changed back to contain to show full image */
    border-radius: 12px; /* Increased border radius */
    transition: all 0.3s ease;
    filter: brightness(1); /* Full brightness */
}

.project-btn:hover .project-btn-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.project-btn.active .project-btn-image {
    filter: brightness(1.2) saturate(1.1);
    transform: scale(1.03);
}

.project-info-display {
    flex: 1; /* Takes remaining space */
    height: 100%;
    position: relative;
    overflow: hidden;
    background: transparent; /* Make background transparent */
}

.project-info {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.project-info.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.project-info-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain to zoom out and show full image */
    border-radius: 12px; /* Increased border radius */
}

.project-info-video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full video without cropping */
    border-radius: 12px; /* Increased border radius */
}

/* Enhanced placeholder info to match reference design */
.placeholder-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(16, 33, 62, 0.95), rgba(26, 26, 46, 0.95));
    position: relative;
}

/* Add subtle pattern overlay like in reference */
.placeholder-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(32, 201, 151, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.placeholder-info > * {
    position: relative;
    z-index: 2;
}

.placeholder-info h3 {
    font-size: 2rem; /* Larger heading */
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.placeholder-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    line-height: 1.6;
}

/* Responsive design for innovative projects */
@media (max-width: 768px) {
    .innovative-projects-layout {
        flex-direction: column;
        height: auto;
        max-width: 100%;
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .project-buttons {
        flex-direction: row;
        flex: 0 0 auto;
        height: auto;
        gap: 0.5rem;
        padding: 1rem;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--zasti-blue) var(--zasti-dark-gray);
    }
    
    .project-buttons::-webkit-scrollbar {
        height: 4px;
    }
    
    .project-buttons::-webkit-scrollbar-track {
        background: var(--zasti-dark-gray);
        border-radius: 2px;
    }
    
    .project-buttons::-webkit-scrollbar-thumb {
        background: var(--zasti-blue);
        border-radius: 2px;
    }
    
    .project-btn {
        flex: 0 0 180px; /* Increased button size on mobile */
        min-height: 120px; /* Increased minimum height for better touch targets */
        padding: 0.75rem;
        border-radius: 12px;
        border: 1px solid rgba(0, 87, 184, 0.2);
        background: rgba(26, 26, 46, 0.8);
        backdrop-filter: blur(10px);
    }
    
    .project-btn:hover {
        transform: scale(1.05);
        border-color: rgba(0, 87, 184, 0.5);
    }
    
    .project-btn.active {
        border-color: var(--zasti-blue);
        background: rgba(0, 87, 184, 0.1);
    }
    
    .project-info-display {
        position: static; /* allow normal flow */
        height: auto; /* adapt to content */
        margin-top: 1rem;
        border-radius: 15px;
        overflow: hidden;
        border: 1px solid rgba(0, 87, 184, 0.2);
    }
    
    .project-info {
        position: static; /* stop absolute stacking */
        height: auto;
        transform: none;
        display: none;
        opacity: 1; /* ensure visible when active */
        width: 100%;
    }
    
    .project-info.active {
        display: block;
    }
    
    .project-info-image,
    .project-info-video {
        border-radius: 15px;
        width: 100%;
        height: auto; /* keep natural aspect ratio */
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .innovative-projects-layout {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .project-buttons {
        padding: 0.75rem;
        gap: 0.25rem;
    }
    
    .project-btn {
        flex: 0 0 160px;
        min-height: 100px;
        padding: 0.5rem;
    }
    
    .project-info-display {
        height: 350px;
    }
}

/* Interactive Framework Styles */
.interactive-framework-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    padding: 120px 0;
    position: relative;
}

.interactive-framework-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(32, 201, 151, 0.1) 0%, transparent 40%);
    z-index: 1;
}

.interactive-framework-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.framework-circle {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(100px);
}

.letter-straight {
    display: inline-block;
    transform: rotate(calc(0deg - var(--angle)));
    position: relative;
    z-index: 1;
}

.circle-node {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(16, 16, 16, 0.9));
    border: 3px solid rgba(0, 87, 184, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0057B8;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 87, 184, 0.2);
    user-select: none;
}

.circle-node:hover {
    transform: scale(1.1);
    border-color: rgba(32, 201, 151, 0.8);
    color: #20c997;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(32, 201, 151, 0.4);
}

.circle-node.active {
    background: linear-gradient(135deg, #0057B8, #20c997);
    color: #fff;
    border-color: #20c997;
    transform: scale(1.2);
    box-shadow: 
        0 20px 50px rgba(0, 87, 184, 0.4),
        0 0 40px rgba(32, 201, 151, 0.6);
}

.framework-details {
    max-width: 500px;
    min-height: 400px;
    position: relative;
}

.framework-step {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.framework-step.active {
    opacity: 1;
    transform: translateX(0);
}

.step-letter {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0057B8, #20c997);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 87, 184, 0.4);
}

.step-content {
    flex: 1;
    position: relative;
}

.step-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.step-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.2), rgba(32, 201, 151, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 87, 184, 0.3);
    color: #20c997;
    font-size: 1.3rem;
}

/* Mobile Responsive for Interactive Framework */
@media (max-width: 1200px) {
    .interactive-framework-diagram {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }
    
    .framework-circle {
        width: 250px;
        height: 250px;
    }
    
    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(85px) rotate(calc(-1 * var(--angle)));
    }
    
    .framework-details {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .interactive-framework-diagram {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .framework-circle {
        width: 220px;
        height: 220px;
    }
    
    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(80px) rotate(calc(-1 * var(--angle)));
    }
    
    .circle-node {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        cursor: pointer;
        touch-action: manipulation;
    }
    
    .circle-node:hover {
        transform: scale(1.15);
    }
    
    .step-letter {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .framework-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .step-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .step-icon {
        position: static;
        margin: 1rem auto 0;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .framework-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .framework-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .interactive-framework-diagram {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .framework-circle {
        width: 180px;
        height: 180px;
    }
    
    .circle-item {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateX(65px) rotate(calc(-1 * var(--angle)));
    }
    
    .circle-node {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-letter {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .framework-step {
        padding: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .framework-title {
        font-size: 1.5rem;
    }
    
    .framework-subtitle {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.agri-hero {
    height: 100vh;
    min-height: 700px;
    background-color: var(--zasti-black);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Background video for Sustainable Agriculture Solutions hero section */
.agri-hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
    pointer-events: none;
    transition: opacity 0.4s;
}

.agri-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.leaf-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30" opacity="0.3"><path d="M15 2 C20 2, 28 8, 28 15 C28 22, 20 28, 15 28 C10 28, 2 22, 2 15 C2 8, 10 2, 15 2 Z" stroke="%2320c997" stroke-width="0.5" fill="none"/><path d="M15 8 L15 22 M8 15 L22 15" stroke="%2320c997" stroke-width="0.3" fill="none"/></svg>');
    background-size: 60px 60px;
    opacity: 0.1;
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 87, 184, 0.2) 0%, rgba(10, 10, 10, 0) 70%),
        radial-gradient(circle at 80% 70%, rgba(32, 201, 151, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
}

.agri-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.agri-hero-text {
    max-width: 600px;
}

.agri-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.agri-hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.agri-hero-cta {
    display: flex;
    gap: 1rem;
}

.agri-hero-image {
    position: relative;
    width: 45%;
    max-width: 600px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-overlay {
    position: absolute;
    bottom: -30px;
    left: -30px;
    right: -30px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

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

.stat-box {
    background-color: var(--zasti-dark-gray);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.stat-value {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--zasti-green);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

/* Challenges Section */
.agri-challenges {
    background-color: var(--zasti-dark-gray);
    position: relative;
}

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

.challenge-card {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.challenge-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background-color: rgba(32, 201, 151, 0.05);
    border-color: var(--zasti-green);
}

.challenge-icon {
    font-size: 2.5rem;
    color: var(--zasti-green);
    margin-bottom: 1.5rem;
}

.challenge-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.challenge-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.challenge-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
}

.detail-icon {
    color: #ff4757;
    font-size: 1.25rem;
}

.detail-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Solutions Section */
.agri-solutions {
    background-color: var(--zasti-black);
    position: relative;
}

.agri-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.05"><path d="M20 50 C20 35, 35 20, 50 20 C65 20, 80 35, 80 50 C80 65, 65 80, 50 80 C35 80, 20 65, 20 50 Z" stroke="%2320c997" stroke-width="0.5" fill="none"/><path d="M50 35 L50 65 M35 50 L65 50" stroke="%2320c997" stroke-width="0.3" fill="none"/></svg>');
    background-size: 100px 100px;
    opacity: 0.05;
    z-index: 0;
}

.solutions-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.tab-btn {
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-full);
    color: var(--zasti-white);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
}

.tab-btn:hover {
    background-color: rgba(32, 201, 151, 0.1);
}

.tab-btn.active {
    background-color: var(--zasti-green);
    color: var(--zasti-black);
}

.solutions-content {
    position: relative;
    z-index: 1;
}

.solution-tab {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.solution-tab.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solution-visual {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.solution-image {
    width: 100%;
    height: auto;
    display: block;
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.7) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-icon {
    font-size: 4rem;
    color: var(--zasti-green);
    animation: pulse 2s infinite;
}

.solution-details {
    padding: 2rem;
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-details h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--zasti-green);
}

.solution-details p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.features-list {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    color: var(--zasti-green);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.solution-cta {
    display: flex;
    gap: 1rem;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--zasti-dark-gray);
    position: relative;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 90%, rgba(32, 201, 151, 0.15) 0%, rgba(22, 22, 22, 0) 70%),
        radial-gradient(circle at 90% 10%, rgba(0, 87, 184, 0.15) 0%, rgba(22, 22, 22, 0) 70%);
    z-index: 0;
}

.workflow-diagram {
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.workflow-diagram img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.workflow-step {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.workflow-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background-color: rgba(32, 201, 151, 0.05);
    border-color: var(--zasti-green);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--zasti-green);
    opacity: 0.15;
    line-height: 1;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--zasti-green);
}

.step-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Case Studies Section */
.case-studies {
    background-color: var(--zasti-black);
    position: relative;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.case-study-card {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--zasti-green);
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(32, 201, 151, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    color: var(--zasti-green);
    flex-shrink: 0;
}

.case-study-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.case-study-content {
    padding: 2rem;
}

.case-study-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-item {
    text-align: center;
    padding: 1rem;
    background-color: rgba(32, 201, 151, 0.05);
    border-radius: var(--border-radius-sm);
}

.result-value {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zasti-green);
    display: block;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.case-study-quote {
    padding: 1.5rem;
    background-color: var(--zasti-dark-gray);
    border-radius: var(--border-radius-md);
    position: relative;
}

.case-study-quote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.quote-author {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: var(--zasti-green);
}

/* Technology Integration Section */
.tech-integration {
    background-color: var(--zasti-dark-gray);
    position: relative;
}

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

.integration-card {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.integration-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    background-color: rgba(0, 87, 184, 0.05);
    border-color: var(--zasti-blue);
}

.integration-icon {
    font-size: 2.5rem;
    color: var(--zasti-blue);
    margin-bottom: 1.5rem;
}

.integration-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.integration-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.integration-partners {
    margin-top: 4rem;
    text-align: center;
}

.integration-partners h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.partner-logo {
    background-color: var(--zasti-gray);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.7;
    transition: all var(--transition-medium);
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
    box-shadow: var(--shadow-sm);
}

.partner-logo img {

        height: 60px; /* Adjust height as needed for header size */
        width: auto;
        display: block;
    
}

/* Features Section */
.features-section {
    background-color: var(--zasti-black);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150" opacity="0.02"><path d="M30 75 C30 50, 50 30, 75 30 C100 30, 120 50, 120 75 C120 100, 100 120, 75 120 C50 120, 30 100, 30 75 Z" stroke="%2320c997" stroke-width="0.7" fill="none"/><path d="M75 45 L75 105 M45 75 L105 75" stroke="%2320c997" stroke-width="0.5" fill="none"/></svg>');
    background-size: 150px 150px;
    opacity: 0.05;
    z-index: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.feature-block {
    position: relative;
}

.feature-header {
    margin-bottom: 3rem;
}

.feature-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.feature-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(32, 201, 151, 0.1);
    border-radius: var(--border-radius-full);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--zasti-green);
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.feature-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-preview {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-caption span {
    font-size: 0.9rem;
    color: var(--zasti-white);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--zasti-dark-gray);
    position: relative;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: all var(--transition-medium);
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-quote {
    position: relative;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.testimonial-quote i {
    position: absolute;
    font-size: 1.25rem;
    color: var(--zasti-green);
    opacity: 0.7;
}

.testimonial-quote i.fa-quote-left {
    top: 0;
    left: 0;
}

.testimonial-quote i.fa-quote-right {
    bottom: 0;
    right: 0;
}

.testimonial-quote p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--zasti-white);
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
    border: 2px solid var(--zasti-green);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.testimonial-controls {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.testimonial-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.dot:hover {
    background-color: rgba(32, 201, 151, 0.5);
}

.dot.active {
    background-color: var(--zasti-green);
    transform: scale(1.2);
}

/* CTA Section */
.agri-cta {
    position: relative;
    overflow: hidden;
    background-color: var(--zasti-black);
    padding: 0;
}

.cta-container {
    position: relative;
    padding: 6rem 2rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(32, 201, 151, 0.2) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 0;
}

.leaf-particles-small {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" opacity="0.3"><path d="M10 2 C14 2, 18 6, 18 10 C18 14, 14 18, 10 18 C6 18, 2 14, 2 10 C2 6, 6 2, 10 2 Z" stroke="%2320c997" stroke-width="0.3" fill="none"/><path d="M10 6 L10 14 M6 10 L14 10" stroke="%2320c997" stroke-width="0.2" fill="none"/></svg>');
    background-size: 40px 40px;
    opacity: 0.05;
}

.agri-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.agri-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* ATOM Mission Section */
.atom-mission {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.atom-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 87, 184, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(32, 201, 151, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.mission-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.mission-header h2 {
    color: var(--zasti-white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.mission-card {
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1px solid rgba(0, 87, 184, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mission-icon {
    background: linear-gradient(135deg, var(--zasti-blue) 0%, var(--zasti-green) 100%);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-icon i {
    font-size: 2rem;
    color: var(--zasti-white);
}

.mission-content h3 {
    color: var(--zasti-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.atom-framework {
    position: relative;
    z-index: 1;
}

.framework-title {
    text-align: center;
    color: var(--zasti-white);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.framework-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.atom-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.atom-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    min-height: 280px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.atom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--zasti-blue) 0%, var(--zasti-green) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.atom-card:hover::before {
    transform: scaleX(1);
}

.atom-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 87, 184, 0.5);
    box-shadow: 0 10px 40px rgba(0, 87, 184, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.atom-icon {
    background: linear-gradient(135deg, var(--zasti-blue) 0%, var(--zasti-green) 100%);
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atom-icon i {
    color: var(--zasti-white);
    font-size: 1.2rem;
}

.atom-letter {
    background: linear-gradient(135deg, var(--zasti-blue) 0%, var(--zasti-green) 100%);
    color: var(--zasti-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.card-content h4 {
    color: var(--zasti-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(0, 87, 184, 0.3);
    color: rgba(135, 206, 250, 1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 87, 184, 0.5);
}

/* Specific card color variations */
.atom-card.assess:hover {
    border-color: rgba(255, 107, 107, 0.5);
    box-shadow: 0 10px 40px rgba(255, 107, 107, 0.2);
}

.atom-card.target:hover {
    border-color: rgba(54, 162, 235, 0.5);
    box-shadow: 0 10px 40px rgba(54, 162, 235, 0.2);
}

.atom-card.optimize:hover {
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.2);
}

.atom-card.monetize:hover {
    border-color: rgba(40, 167, 69, 0.5);
    box-shadow: 0 10px 40px rgba(40, 167, 69, 0.2);
}

/* Animation Keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .agri-hero-text h1 {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .feature-showcase {
        justify-content: flex-start;
    }
    
    .atom-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
    }
    
    .mission-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .agri-hero-content {
        flex-direction: column;
    }
    
    .agri-hero-text {
        max-width: 100%;
        text-align: center;
    }
    
    .agri-hero-cta {
        justify-content: center;
    }
    
    .agri-hero-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-details {
        order: -1;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .agri-hero {
        min-height: auto;
        height: auto;
        padding: 120px 0 4rem;
    }
    
    .agri-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .agri-hero-text p {
        font-size: 1.1rem;
    }
    
    .stats-overlay {
        flex-direction: column;
        bottom: -120px;
        left: 0;
        right: 0;
    }
    
    .tab-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .feature-content h3 {
        font-size: 1rem;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .case-study-results {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        padding: 2rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .agri-cta h2 {
        font-size: 2rem;
    }
    
    .mission-header h2 {
        font-size: 2rem;
    }
    
    .framework-title {
        font-size: 1.5rem;
    }
    
    .atom-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .atom-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .agri-hero-text h1 {
        font-size: 2rem;
    }
    
    .solutions-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .solution-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-step {
        padding: 1.5rem;
    }
    
    .step-number {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    
    .mission-header h2 {
        font-size: 1.8rem;
    }
    
    .mission-card {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .atom-card {
        padding: 1rem;
    }
    
    .atom-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-content h4 {
        font-size: 1.1rem;
    }
}

.agri-projects {
    background-color: var(--zasti-dark-gray);
    position: relative;
    padding: 4rem 0;
    overflow: visible;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background-color: var(--zasti-gray);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--zasti-green);
}

.project-info {
    margin-bottom: 1.5rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--zasti-green);
}

.project-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.project-card .video-container {
    width: 100%;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: var(--zasti-black);
}

.project-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    max-height: 300px;
}

/* Video Demonstrations */
.video-demonstrations {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 87, 184, 0.05), rgba(32, 201, 151, 0.05));
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-section h4 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--zasti-white);
    font-weight: 600;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    align-items: start;
}

.video-item {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    background: var(--zasti-black);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 250px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(0, 87, 184, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .play-button {
    transform: scale(1);
}

.video-info {
    padding: 1.5rem;
}

.video-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--zasti-green);
    font-weight: 600;
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Large Video Wrapper for Solution Sections */
.video-wrapper-large {
    position: relative;
    width: 100%;
    height: 350px;
    background: var(--zasti-black);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 2px solid rgba(32, 201, 151, 0.2);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.video-wrapper-large:hover {
    border-color: rgba(32, 201, 151, 0.4);
    transform: scale(1.02);
}

.video-wrapper-large video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
}

.video-overlay-large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-wrapper-large:hover .video-overlay-large {
    opacity: 1;
}

.play-button-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--zasti-blue), var(--zasti-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 87, 184, 0.3);
}

.video-wrapper-large:hover .play-button-large {
    transform: scale(1);
}

/* Mobile responsiveness for large video wrapper */
@media (max-width: 768px) {
    .video-wrapper-large {
        height: 250px;
    }
    
    .play-button-large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-info h3 {
        font-size: 1.25rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-demonstrations {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .video-section h4 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .video-wrapper video {
        max-height: 200px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* --- ATOMICITY Framework Section Styles (from platform.css) --- */
.framework-section {
    background-color: var(--zasti-black);
    position: relative;
    padding: 6rem 0;
}
.framework-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="150" height="150" viewBox="0 0 150 150" opacity="0.03"><path d="M0 75 L150 75" stroke="%230057b8" stroke-width="0.3" fill="none"/><path d="M75 0 L75 150" stroke="%230057b8" stroke-width="0.3" fill="none"/><circle cx="75" cy="75" r="50" stroke="%230057b8" stroke-width="0.5" fill="none"/><circle cx="75" cy="75" r="2" fill="%230057b8"/></svg>');
    background-size: 150px 150px;
    opacity: 0.1;
    z-index: 0;
}
.framework-diagram {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
    align-items: flex-start;
}
.framework-circle {
    width: 400px;
    height: 400px;
    position: relative;
    margin: 0 auto;
    flex-shrink: 0;
}
.circle-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 87, 184, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 0;
    transform-origin: center;
    transform: translateY(-50%) rotate(var(--angle));
}
.circle-node {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: var(--zasti-gray);
    border: 2px solid var(--zasti-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zasti-blue);
    cursor: pointer;
    transition: all 0.3s;
    transform: translateY(-50%);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0,87,184,0.08);
}
.circle-node::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 150px;
    height: 2px;
    background-color: rgba(0, 87, 184, 0.3);
    transform: translateY(-50%);
    z-index: -1;
}
.circle-node:hover {
    background-color: rgba(0, 87, 184, 0.2);
    transform: translateY(-50%) scale(1.1);
}
.circle-node.active {
    background-color: var(--zasti-blue);
    color: var(--zasti-white);
    box-shadow: 0 4px 16px rgba(0,87,184,0.15);
}
.framework-details {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}
.framework-step {
    background-color: var(--zasti-gray);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    margin-bottom: 1.5rem;
}
.framework-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.step-letter {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: var(--font-secondary);
    font-size: 5rem;
    font-weight: 700;
    color: var(--zasti-blue);
    opacity: 0.1;
    line-height: 1;
}
.step-content {
    position: relative;
    z-index: 1;
}
.step-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--zasti-blue);
}
.step-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.step-icon {
    font-size: 2.5rem;
    color: var(--zasti-blue);
}
@media (max-width: 1200px) {
    .framework-circle {
        width: 350px;
        height: 350px;
    }
    .circle-node::before {
        width: 125px;
    }
}
@media (max-width: 992px) {
    .framework-diagram {
        flex-direction: column;
        align-items: center;
    }
    .framework-circle {
        width: 300px;
        height: 300px;
    }
    .circle-node {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    .circle-node::before {
        width: 100px;
    }
    .framework-details {
        max-width: 100%;
    }
}
@media (max-width: 576px) {
    .framework-circle {
        width: 200px;
        height: 200px;
    }
    .circle-node {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    .circle-node::before {
        width: 60px;
    }
    .framework-step {
        padding: 1rem;
    }
    .step-letter {
        font-size: 2.5rem;
        top: 1rem;
        right: 1rem;
    }
    .step-content h3 {
        font-size: 1.2rem;
    }
}

/* Additional improvements for agriculture page consistency */
.atom-hero h1, .mission-header h2 {
    font-size: 2.4rem !important;
}

.framework-subtitle {
    font-size: 0.95rem !important;
}

/* Better spacing for sections */
.atom-mission, .atom-framework, .agriculture-challenges,
.interactive-framework-section {
    padding: 80px 0 !important;
}

/* Healthcare Challenges Video Section */
.health-challenges {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    margin: 0;
}

.challenges-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: var(--zasti-dark-gray);
    z-index: 1;
}

.challenges-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0;
    background: var(--zasti-dark-gray);
}

/* Pulz Techstack Video Section */
.pulz-techstack-section {
    background-color: #0a0a0a;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: flex-start;
    font-family: 'Space Mono', monospace;
}

.pulz-techstack-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.techstack-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: #0a0a0a;
    z-index: 1;
}

.techstack-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: #0a0a0a;
}

/* Responsive styles for video sections */
@media (max-width: 768px) {
    .agri-hero {
        height: 100vh;
        padding: 0;
        min-height: 100vh;
    }
    
    .agri-hero-bg-video {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    
    .health-challenges {
        height: 70vh;
        min-height: 400px;
    }
    
    .challenges-video-container {
        height: 70vh;
        min-height: 400px;
        margin: 0;
        border-radius: 0;
    }
    
    .pulz-techstack-section {
        height: 70vh;
        min-height: 400px;
    }
    
    .techstack-video-container {
        height: 70vh;
        min-height: 400px;
        margin: 0;
        border-radius: 0;
    }
    
    .challenges-video.desktop-only {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
    .challenges-video.mobile-only {
        object-fit: cover;
        object-position: center center;
        width: 100%;
        height: 100%;
        background: #000;
    }
    
    .techstack-video {
        object-fit: contain;
        object-position: center center;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    .agri-hero {
        min-height: 100vh;
    }
    
    .health-challenges {
        height: 60vh;
        min-height: 350px;
    }
    
    .challenges-video-container {
        height: 60vh;
        min-height: 350px;
    }
    
    .pulz-techstack-section {
        height: 60vh;
        min-height: 350px;
    }
    
    .techstack-video-container {
        height: 60vh;
        min-height: 350px;
    }
    
    .challenges-video.desktop-only { object-fit: cover; }
    .challenges-video.mobile-only { object-fit: contain; }
    
    .techstack-video {
        object-fit: contain;
    }
}

@media (max-width: 576px) {
    .health-challenges {
        height: 70vh;
    }
    
    .challenges-video-container {
        height: 70vh;
    }
    
    .pulz-techstack-section {
        height: 70vh;
    }
    
    .techstack-video-container {
        height: 70vh;
    }
    
    .challenges-video {
        object-fit: cover;
    }
    
    .techstack-video {
        object-fit: contain;
    }
}
