/* Additional Responsive Styles */

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle__line {
    width: 25px;
    height: 3px;
    background-color: var(--suncell-dark);
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--suncell-white);
        flex-direction: column;
        padding: 1rem 0;
        margin: 0;
        gap: 0;
        border-radius: 0 0 8px 8px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav__menu.toggled {
        display: flex;
    }
    
    .nav__menu li {
      
        margin-top: 0.5rem;
        margin-right: 0px;
        margin-bottom: 0rem;
        margin-left: 0px;

        text-align: center;

        padding-bottom: 0.5rem;

    }
    .nav__menu li a{
      
        margin-top: 0.0rem;
        margin-right: 0px;
        margin-bottom: 0.5rem;
        margin-left: 0px;



    }
    
    .nav__link {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
    
    body.no-scroll {
        overflow: hidden;
    }
    
    /* Adjust hero for mobile */
    .hero {
        height: 70vh;
        padding: 0 1rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    /* Responsive grid layouts */
    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .certifications-grid,
    .partners-grid,
    .applications-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive timeline */
    .process-timeline .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-icon {
        margin-bottom: 1rem;
    }
    
    /* Responsive tables */
    .specs-table table {
        font-size: 0.9rem;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section__title h2 {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .advantage-card,
    .tech-card {
        padding: 1.5rem;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .metric-card {
        padding: 2rem 1rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid,
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero__content {
        max-width: 900px;
    }
    
    .features {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .menu-toggle,
    .hero__cta {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --suncell-green: #006400;
        --suncell-gold: #FFD700;
        --suncell-dark: #000;
        --suncell-gray: #f0f0f0;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --suncell-dark: #e0e0e0;
        --suncell-white: #1a1a1a;
        --suncell-gray: #2a2a2a;
    }
    
    body {
        background-color: var(--suncell-white);
        color: var(--suncell-dark);
    }
    
    .header {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .feature-card,
    .advantage-card {
        background: var(--suncell-gray);
    }
}