/* Granalytich Solutions - Responsive Styles */

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 39, 46, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding-top: 100px;
    text-align: center;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.mobile-menu a {
    display: block;
    padding: 20px;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 80%;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #f4d03f;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .leadership-content {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .leadership-sidebar {
        width: 100%;
        padding: 1rem;
        background: rgba(0,0,0,0.1);
    }

    .leadership-main {
        padding: 2rem 1rem;
        text-align: center;
    }

    .profile-content {
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tier-row {
        gap: 20px;
    }
    
    .client-logo.tier-1 {
        width: 170px;
        height: 100px;
        padding: 10px;
    }
    
    .client-logo.tier-2 {
        width: 130px;
        height: 80px;
        padding: 8px;
    }
    
    .client-logo.tier-3 {
        width: 110px;
        height: 70px;
        padding: 6px;
    }

    /* Mobile responsiveness for carousel */
    .carousel-container {
        height: 200px;
    }

    .logo-item-clean {
        min-width: 150px;
        height: 80px;
    }

    .logo-item-clean img {
        max-width: 130px;
        max-height: 60px;
    }

    .carousel-row.bottom {
        padding-left: 60px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
    }
    
    .section-title-logos {
        margin-bottom: 30px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo-icon {
        height: 35px;
    }
    
    .logo-bar {
        width: 6px;
    }
    
    .logo-text-main {
        font-size: 18px;
    }
    
    .logo-text-sub {
        font-size: 14px;
    }
    
    .logo-text-tagline {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .floating-decoration {
        right: 20px;
        font-size: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        min-height: 240px;
        padding: 30px 25px;
    }
    
    .project-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .project-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .project-link {
        font-size: 0.85rem;
    }

    .tier-row {
        gap: 15px;
        margin-bottom: 12px;
    }
    
    .tier-1-row {
        margin-bottom: 17px;
    }
    
    .tier-2-row {
        margin-bottom: 15px;
    }
    
    .client-logo.tier-1 {
        width: 150px;
        height: 90px;
        padding: 8px;
    }
    
    .client-logo.tier-2 {
        width: 120px;
        height: 75px;
        padding: 8px;
    }
    
    .client-logo.tier-3 {
        width: 100px;
        height: 65px;
        padding: 5px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .tier-row {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .client-logo.tier-1 {
        width: 130px;
        height: 80px;
        padding: 6px;
    }
    
    .client-logo.tier-2 {
        width: 110px;
        height: 70px;
        padding: 6px;
    }
    
    .client-logo.tier-3 {
        width: 90px;
        height: 60px;
        padding: 4px;
    }
}